An edge in a GraphT
A vertex in a GraphT
Called when an edge has been identified as part of a cycle
Called when a vertex is first encountered during the search.
Called when an edge is being expanded.
Called whan all of the adjacent nodes of a vertex have been examined.
Called when an edge crosses to a pre-existing spanning tree
Called when a vertex is set to its initial state, before the search.
Called when a vertex is identified as the root of a depth-first spanning tree
Called when an edge has been identified as part of the current spanning tree.
A default implementation of the depth-first-search visitor concept. More specialised visitors can delegate the bits that they don't care about to an instance of NullVisitor without having to re-implement them.
Also servers as a handy point for documenting the visitor interface.