General BFS/DFS method parameterized by callbacks #446
Labels
For:library
The issue is related to library (c++ implementation)
Type:discussion
A discussion of some particular topic in wider audience
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
ordistances_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)
The text was updated successfully, but these errors were encountered: