You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// All returned values will have the exact same distance from the given query point.
The nearest_neighbors() method seems like it can be usefull for KNN however it is not immediately clear in the docs how it works. Does it return a vector of all neighboring points sorted by distance?
Can this method be clarified further?
The text was updated successfully, but these errors were encountered:
I think you are looking for nearest_neighbor_iter. nearest_neighbors is meant only for when there is no single nearest neighbour but multiple objects have exactly the same distance as quoted from the documentation.
rstar/rstar/src/rtree.rs
Line 681 in 0ed7748
The nearest_neighbors() method seems like it can be usefull for KNN however it is not immediately clear in the docs how it works. Does it return a vector of all neighboring points sorted by distance?
Can this method be clarified further?
The text was updated successfully, but these errors were encountered: