-
Notifications
You must be signed in to change notification settings - Fork 93
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
Create some new options for BFSIterator
#389
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #389 +/- ##
=======================================
Coverage 97.31% 97.31%
=======================================
Files 120 120
Lines 6953 6956 +3
=======================================
+ Hits 6766 6769 +3
Misses 187 187 ☔ View full report in Codecov by Sentry. |
Bump, I have some use cases for this, it should be easy to review |
Can someone take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay, don't hesitate to ping like you did
Co-authored-by: Guillaume Dalle <[email protected]>
let me know if you have more review suggestions @gdalle and thank you for taking a look! |
Let me know if there is still something to address @gdalle |
If you could release a new version with this I would be grateful so that I can use it in another package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! I'll tag a release
Fixes #288.
This PR adds 2 new options, which can be useful when iterating in BFS:
depth_limit
: specify the maximum level at which BFS should stop beforehand.neighbors_type
: specify which function to use when iterating in BFS, e.g. sometimes usinginneighbors
could be useful and this allows that