stefankoegl / kdtree

A Python implementation of a kd-tree
ISC License
365 stars 118 forks source link

distances from search_nn #14

Closed vincefernando closed 10 years ago

vincefernando commented 10 years ago

Is it possible to get the minimum distance (squared) after search_nn without recalculating it?. For higher dimensional trees, distance recalculations could be expensive and should be avoided.

The same question for search_knn and search_nn_dist.