Class CycleDetector.ProbeIterator

  • All Implemented Interfaces:
    java.util.Iterator<V>, GraphIterator<V,​E>
    Enclosing class:
    CycleDetector<V,​E>

    private class CycleDetector.ProbeIterator
    extends DepthFirstIterator<V,​E>
    Version of DFS which maintains a backtracking path used to probe for cycles.