1. Introduction to MSTs
Given: undirected connecte graph G with positive edge weights.
def. Spanning tree T
is a subgraph of G, that is both tree (connected, acyclic) and spanning(all vertices are included).
⇒ Goal: find a spanning tree with minimum weight sum.
2. Greedy Algorithm
assumptions for simplification:
- edge …