Note
This is the documentation for the current state of the development branch of rustworkx. The documentation or APIs here can change prior to being released.
rustworkx.visit.DFSVisitor.finish_vertex#
- DFSVisitor.finish_vertex(v, t)[source]#
This is invoked on vertex v after finish_vertex has been called for all the vertices in the DFS-tree rooted at vertex v. If vertex v is a leaf in the DFS-tree, then the finish_vertex function is called on v after all the out-edges of v have been examined. Together we report the finish time of vertex v.