Skip to main content

Minimum Spanning Forest

Problem Specification#

Input#

G=(V,E)G=(V, E), an undirected, weighted graph on nn vertices.

Output#

TT, a set of edges representing a minimum spanning forest (MSF) of GG.

Algorithm Implementations#

We present an implementation of Boruvka's algorithm that runs in O(mlogn)O(m\log n) work and O(log2n)O(\log^2 n) depth w.h.p. A detailed description of our algorithm can be found in Section 6.2 of this paper.

The code for the primary implementation is available here.

Cost Bounds#

The algorithm runs in O(mlogn)O(m\log n) work and O(log2n)O(\log^{2} n) depth w.h.p.