Closed ciez closed 4 years ago
xdfsWith allows to specify suc' or pre' when performing the search. This allows to search in links as well as out links.
bfs is currently only possible with hard coded suc' : out links.
the suggested changes add an arg to bfsnInternal. This arg allows to pass suc' or pre' to bfs to search in-links as well as out-links.
current functions' signatures remain unchanged.
2 new functions are added: xbfsWith xbfsnWith
Sorry for the late reply.
Would you be able to add documentation to the new functions indicating what they do (in particular, noting that bfs* = xbfs* suc').
bfs* = xbfs* suc'
xdfsWith allows to specify suc' or pre' when performing the search. This allows to search in links as well as out links.
bfs is currently only possible with hard coded suc' : out links.
the suggested changes add an arg to bfsnInternal. This arg allows to pass suc' or pre' to bfs to search in-links as well as out-links.
current functions' signatures remain unchanged.
2 new functions are added: xbfsWith xbfsnWith