-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interface for tree traversal / walking of BallTree/KDTree #194
Comments
Yes, it's a good idea. It's in #180 |
It would be good here to list the set of methods required and what their return values should be. |
The initial idea was something like this...
I think this is a super easy to use interface. Things I don't like about this:
This is where I'd start and then optimize from there to see if the compiler is smart enough to elide the region info if it isn't used in a function. (Maybe with aggressive use of |
It'd be great to have an interface to walk the tree structures. This could be used internally by some of the search options and externally as in a few cases I have below.
see https://github.com/dgleich/GraphPlayground.jl/blob/main/src/manybodyforce.jl for usage (which just broke given one of your changes :) ... which is what I should expect for using undocumented internals!) and https://discourse.julialang.org/t/packages-for-quadtrees-in-julia/113078/3
So I'm trying to get a more useful walk interface...
I have a few ideas, but I'm trying to solicit use cases at the moment.
inrange_kernel
in NearestNeighbors.Are there others? The plan is to submit a pull request at some point with an initial take on how to make this generally useful.
The text was updated successfully, but these errors were encountered: