graph/mst_utils library

Minimum spanning tree (Kruskal) — roadmap #538.

Functions

kruskalMST(int nodeCount, List<GraphUtils> edges) → (List<GraphUtils>, double)
MST from edges (GraphUtils); returns (mst edges, total cost).