Introduction
kasjhdkajshdkj
The Minimum Spanning Tree Problem
Theorem (The Spanning Tree Lemma). Suppose T is a spanning tree of a graph G. Let e be an edge in G∖T. Then the following are true:
- T∪{e} contains a unique cycle C.
- Let e′∈C. Then T′=T−{e}∪{e′} is a spanning tree of G.
Figure 1: A spanning tree of a graph. Hover over a non-tree edge to reveal the cycle
guaranteed by the minimum spanning tree lemma.
The Shortest Path Problem