ConstReadonlyFINISHED: 2The search has reached the target and left it, or a stopped run left it on its path.
ReadonlyON_STACK: 1The target is on the current path - the source itself or one of its ancestors in the search - so the edge closes a cycle.
ReadonlyUNVISITED: 0The search has not reached the target yet.
The state of the target of an edge when DfsEdgeTraverser.visitEdge reports the edge (Java: the enum
DfsEdgeTraverser.TargetState; here a constant object with the ordinals of the enum as values, and a type of the same name for one of them).