Skip to content
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

Is it possible to use custom algorithms for search? #21

Open
gebalassa opened this issue May 2, 2023 · 1 comment
Open

Is it possible to use custom algorithms for search? #21

gebalassa opened this issue May 2, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@gebalassa
Copy link

Is it possible to use this library with a custom algorithm like A*, minmax, etc?

Or is one forced to use pre-order, etc.?

Thank you

@kpeeters
Copy link
Owner

As long as the algorithm is happy with the underlying data structure used in tree.hh, you can do what you like. For some algorithms it may be useful to do a single conversion of the data structure to something else, and then convert back, but that really depends on the details of what you want to do. Can you be a bit more specific about what you are after?

@kpeeters kpeeters added the enhancement New feature or request label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants