Minimum Cost Spanning Tree
Minimum Cost Spanning Tree
Spanning Trees
• Given (connected) graph G(V,E),
a spanning tree T(V’,E’):
– Is a subgraph of G; that is, V’ V, E’ E.
– Spans the graph (V’ = V)
– Forms a tree (no cycle);
– So, E’ has |V| -1 edges
2
Minimum Spanning Trees
• Edges are weighted: find minimum cost
spanning tree
• Applications
– Find cheapest way to wire your house
– Find minimum cost to send a message on the
Internet
1 1 6
4
2
6 5
1 1 6
4
2
6 5
8 3
Final Cost: 1 + 3 + 4 + 1 + 1 = 10 2 3 4
1 1 6
4
2
6 5