Expand description
Graph utilities.
Functions§
- entered_
node 🔒 - Add to
entered
that we have enterednode
andnode
haschildren
. - find_
next_ 🔒child_ to_ enter - Find the next child node, if any, that we have not entered.
- nonrecursive_
dft - A non-recursive implementation of an infallible depth-first traversal
starting from
root
. - nonrecursive_
dft_ mut - Same as
nonrecursive_dft
, but allows changes to be made to the graph. - try_
nonrecursive_ dft - A non-recursive implementation of a fallible depth-first traversal
starting from
root
. - try_
nonrecursive_ dft_ mut - Same as
try_nonrecursive_dft
, but allows changes to be made to the graph.