Expand description
Minimum spanning trees (forests) of undirected graphs: Kruskal and Prim.
See the book entry Minimum spanning trees and union-find.
Structs§
- Spanning
Forest - A minimum spanning forest: its edges and total weight (one tree per connected component).