Struct stack_graphs::cycles::CycleDetector [−][src]
pub struct CycleDetector<P> { /* fields omitted */ }
Expand description
Helps detect cycles in the path-finding algorithm.
Implementations
Creates a new, empty cycle detector.
Determines whether we should process this path during the path-finding algorithm. If our
heuristics decide that this path is a duplicate, or is “non-productive”, then we return
false
, and the path-finding algorithm will skip this path.