Graphs - Minimum Spanning Trees




Introduction




Some Graph Terminology




Example Problems



MST Definition



MST Example



MST Properties



MST: Algorithms




MST: Kruskal's Algorithm



Tracing Kruskal's Algorithm

  1. Initialize

  2. (u, v) = (C, F)

  3. (u, v) = (G, I)

  4. (u, v) = (E, F)

  5. (u, v) = (C, E)
  6. Another look at the example:

  7. [MST Example]


Kruskal's Algorithm: How it works



Kruskal's Algorithm: Why does it work



Kruskal's Algorithm - Performance





MST: Prim's Algorithm



Prim's Algorithm - Trace



Prim's Algorithm - Performance