Expand description
Depth-first visits.
Implementations must accept a callback function with argument
EventNoPred
, or EventPred
if the visit keeps track of parent nodes.
The associated filter argument types are FilterArgsNoPred
and
FilterArgsPred
, respectively.
Note that since EventPred
contains the predecessor of the visited node,
all post-initialization visit events can be interpreted as arc events. The
only exception are the previsit and postvisit events of the root.
Structs§
- Filter
Args NoPred - Filter arguments for visits that do not keep track of predecessors.
- Filter
Args Pred - Filter arguments for visit that keep track of predecessors.
- SeqIter
- Sequential depth-first visits.
- Stack
Iterator - The iterator returned by
stack
.
Enums§
- Event
NoPred - Types of callback events generated during depth-first visits not keeping track of parent nodes.
- Event
Pred - Types of callback events generated during depth-first visits keeping track of parent nodes (and possibly of the visit path).