Definition 10.2.2. Spanning Tree.
Let \(G = (V, E)\) be a connected undirected graph. A spanning tree for \(G\) is a spanning subgraphΒ 9.1.17 of \(G\) that is a tree.
Step | Added Bridge | \(L\) | \(R\) | Added Weight |
---|---|---|---|---|
0 | - | \(\{b,c,d,e,f,g\}\) | \(\{a\}\) | - |
1 | \(\{a,f\}\) | \(\{b,c,d,e,g\}\) | \(\{a,f\}\) | \(3\) |
2 | \(\{e,f\}\) | \(\{b,c,d,g\}\) | \(\{a,e,f\}\) | \(4\) |
3 | \(\{e,c\}\) | \(\{b,d\}\) | \(\{a,c,e,f\}\) | \(3\) |
4 | \(\{c,d\}\) | \(\{b,g\}\) | \(\{a,c,d,e,f\}\) | \(2\) |
5 | \(\{f,b\}\) | \(\{g\}\) | \(\{a,b,c,d,e,f\}\) | \(5\) |
6 | \(\{b,g\}\) | \(\{\}\) | \(\{a,b,c,d,e,f,g\}\) | \(3\) |
Total weight | \(20\) |