DFS Spanning Tree (DST)
Given a graph ๐ย = (๐, ๐)ย and given a node ๐1, a DFS spanningย tree ๐ย of ๐ย is generated by applying a depth-first-search traversal over the graph, yielding an ordering ๐ย = (๐1, โฆ, ๐๐). Theย DFS spanning tree ๐ย of ๐ย is defined as the tree rooted at the first node, ๐1, and which includes only the traversed edges of ๐
DFS spanningย treeย ๐ย = (๐, ๐โ)ย where:
- ๐ = sameย ๐
- ๐โ =ย {(๐๐, ๐๐)ย |ย ๐๐ย traversed from ๐๐ย by DFS traversal}