6 ms·
is it possible to get only N closest points that match the distance predicate?
by asadawadia 4y ago
is it possible to get only N closest points that match the distance predicate?
- tidwall 4y agoYes. That library has a flexible kNN method built in. https://pkg.go.dev/github.com/tidwall/rtree#RTree.Nearby https://pkg.go.dev/github.com/tidwall/rtree#RTree.Nearby
- deleted 4y ago[deleted]