CSCI2740 · Method · Chapter 18 · Minimum spanning trees
Kruskal's algorithm
1 steps of prerequisites below it
Kruskal's algorithm sorts the edges by weight and accepts an edge exactly when union finds its endpoints in different components of the current forest.
Taught in
Builds on
- Disjoint-set union · used in an argument or worked solution, passage 18.1
Used by
Lenses
- The tree as a record of every threshold · Structural
Everything this builds on, earliest first · 1 steps
Each step comes after its own prerequisites, so reading in this order never needs something you have not met. It is a reading order for these notes, not a diagnosis of what you know.
- Disjoint-set union · 18.1
Possible roots and a review route need your own answers on these points. None are recorded yet, so none are suggested.
Longest chain down to a starting point
Each step is used by the one above it, across courses where the notes link them. It ends at a point the notes define without another point.