Module petgraph::visit::traversal

source ·

Structs§

  • A breadth first search (BFS) of a graph.
  • Visit nodes of a graph in a depth-first-search (DFS) emitting nodes in preorder (when they are first discovered).
  • Visit nodes in a depth-first-search (DFS) emitting nodes in postorder (each node after all its descendants have been emitted).
  • A topological order traversal for a graph.
  • A walker and its context wrapped into an iterator.

Traits§

  • A walker is a traversal state, but where part of the traversal information is supplied manually to each next call.