Given a graph G, construct a spanning forest for G. The forest is returned as a subgraph of G.
Given a connected graph G, construct a spanning tree for G rooted at an arbitrary vertex of G. The spanning tree is returned as a subgraph of G.
Given a vertex u belonging to the connected graph G, return a breadth-first search spanning tree for G rooted at the vertex u. The spanning tree is returned as a subgraph of G.
Given a vertex u belonging to the connected graph G, return a depth-first search spanning tree for G rooted at the vertex u. The spanning tree is returned as a subgraph of G.[Next] [Prev] [Right] [Left] [Up] [Index] [Root]