Safe Haskell | None |
---|---|
Language | Haskell2010 |
Kruskal's algorithm
An algorithm to find the minimum spanning forest of an edge-weighted graph.
Sources:
- https://en.wikipedia.org/wiki/Kruskal%27s_algorithm
- Joseph B. Kruskal, "On the shortest spanning subtree of a graph and the traveling salesman problem", 1956 https://www.ams.org/journals/proc/1956-007-01/S0002-9939-1956-0078686-7/