This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
Add generic BFS / DFS traversal code that takes visitor structures #1108
Labels
efficiency / performance
related to speed/memory performance
good first issue
ideal for new users/contributors - easy but important
wontfix
known (and usually documented) limitation; no remediation necessary
In the old days, we had generic BFS / DFS code that you could pass visitor functions to, and you could then create your own traversal algorithms (like
gdistances
, for example) that would use BFS or DFS with custom state. Turns out in pre-1.0, this was very slow so we opted to create custom BFS implementations for specific functions.@jpfairbanks suggests that performance may be improved post 1.0. It would be nice to have some code to benchmark. Adding the relevant tags so that GSOC candidates might see this as a good opportunity to get familiar w/ LightGraphs.
The text was updated successfully, but these errors were encountered: