Spanning Tree

The Spanning Tree of a connected graph GG is a connected sub graph which contains all vertices of GG, but with no cycles.

Example

GG is a connected graph, T1T_1, T2T_2, T3T_3 and T4T_4 are spanning trees.

week-15-spanning-tree.webp

Minimum Spanning Tree (MST)

The Minimum Spanning Tree (MST) is the lowest cost spanning tree within the graph, where vertices have associated costs.

Two algorithms for computing the MST: