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

[FR] Implementation of a breadth-first iterator #75

Closed
theogf opened this issue Mar 12, 2021 · 3 comments
Closed

[FR] Implementation of a breadth-first iterator #75

theogf opened this issue Mar 12, 2021 · 3 comments

Comments

@theogf
Copy link

theogf commented Mar 12, 2021

Would it be possible to add an implementation of a breadth-first iterator ?
Or is that not possible in a generic way?

@timholy
Copy link
Member

timholy commented Mar 12, 2021

You know about https://juliacollections.github.io/AbstractTrees.jl/stable/api/#AbstractTrees.StatelessBFS? But if you need a more efficient option, I'd encourage you to give it a try and see if you can contribute it.

@theogf
Copy link
Author

theogf commented Mar 12, 2021

I completely missed it 😳 and I just ended up implementing a statefull BFS.
Very sorry for the noise!

@theogf theogf closed this as completed Mar 12, 2021
@timholy
Copy link
Member

timholy commented Mar 12, 2021

If it's generic, consider contributing it here. I doubt you'll be the last to ask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants