- class DFSVisitor#
A visitor object that is invoked at the event-points inside the
dfs_search()algorithm. By default, it performs no action, and should be used as a base class in order to be useful.
This is invoked on the back edges in the graph.
This is invoked when a vertex is encountered for the first time.
This is invoked on vertex v after finish_vertex has been called for all the vertices in the DFS-tree rooted at vertex v.
This is invoked on forward or cross edges in the graph.
This is invoked on each edge as it becomes a member of the edges that form the search tree.