performs a depth-first traversal of graph g starting from vertex v, and gives a list of vertices in the order in which they were encountered.
returns the edges of the graph that are traversed by the depth-first traversal in the order in which they are traversed.
returns the depth-first tree of the graph.
Basic Examples (2)
DepthFirstTraversal has been superseded by DepthFirstScan:
Wolfram Research (2012), DepthFirstTraversal, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/DepthFirstTraversal.html.
Wolfram Language. 2012. "DepthFirstTraversal." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/DepthFirstTraversal.html.
Wolfram Language. (2012). DepthFirstTraversal. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/DepthFirstTraversal.html