[Go to graphs; shortest path problems]

Minimum-Cost Spanning Tree (MST)

Definition: Given connected graph G with positive edge weights, find a minimum weight subset of edges that connects all of the vertices.

A spanning tree of a graph G is a subgraph T that is connected and acyclic.

MST of G is always a spanning tree.

The subset of edges (1) has minimum total cost as measured by summing the weights of all of the edges in the subset, and (2) keeps the vertices connected.

Applications

More definitions: connectivity & cut

Prim's algorithm