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

General BFS/DFS method parameterized by callbacks #446

Open
Adda0 opened this issue Oct 25, 2024 · 0 comments
Open

General BFS/DFS method parameterized by callbacks #446

Adda0 opened this issue Oct 25, 2024 · 0 comments
Labels
For:library The issue is related to library (c++ implementation) Type:discussion A discussion of some particular topic in wider audience

Comments

@Adda0
Copy link
Collaborator

Adda0 commented Oct 25, 2024

It would be nice if we have some general BFS/DFS method parameterized by callbacks (in a similar fashion as for Tarjan). All these functions such as distances_from_initial or distances_to_final could be easily expressible by this and you wouldn't need to write BFS/DFS all over again.

Originally posted by @vhavlena in #442 (comment)

@Adda0 Adda0 added For:library The issue is related to library (c++ implementation) Type:discussion A discussion of some particular topic in wider audience labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For:library The issue is related to library (c++ implementation) Type:discussion A discussion of some particular topic in wider audience
Projects
None yet
Development

No branches or pull requests

1 participant