
Minimum Spanning Trees M 543
ery graph topology, under any permutation of the edge
weights.
Theorem 2 Let G be selected uniformly at random from
the set of all n-vertex, m-edge graphs. Then regardless of the
edge weights, MST(G) can be found in O(m + n) time with
probability 1 2
˝(m/˛
2
)
,where˛ = ˛(m; n) is the slowly
growing inverse-Ackermann function.
Theorem 1 should be contrasted with the results of Karger,
Klein, and Tarjan [9] and Chazelle [2]ontherandomized
and deterministic complexity of the MST problem.
Theorem 3 [9] The minimum spanning forest of a graph
with m edges can be computed by a randomized algorithm
in O(m) time with probability 1 2
˝(m)
.
Theorem 4 [2] The minimum spanning tree of a graph
can be computed in O(m˛(m; n)) time by a deterministic
algorithm, where ˛ is the inverse-Ackermann function.
Applications
Bor
˚
uvka [1] invented the MST problem while consider-
ing the practical problem of electrifying rural Moravia
(present day Czech Republic) with the shortest electrical
network. MSTs are used as a starting point for heuristic
approximations to the optimal traveling salesman tour and
optimal Steiner tree, as well as other network design prob-
lems. MSTs are a component in other graph optimiza-
tion algorithms, notably the single-source shortest path al-
gorithms of Thorup [19] and Pettie–Ramachandran [15].
MSTs are used as a tool for visualizing data that is pre-
sumed to have a tree structure; for example, if a matrix
contains dissimilarity data for a set of species, the mini-
mum spanning tree of the associated graph will presum-
ably group closely related species; see [7]. Other modern
uses of MSTs include modeling physical systems [17]and
image segmentation [8]; see [4] for more applications.
Open Problems
The chief open problem is to determine the determinis-
tic complexity of the minimum spanning tree problem. By
Theorem 1 this is tantamount to determining the decision-
tree complexity of the MST problem.
Experimental Resul t s
Moret and Shapiro [11] evaluated the performance of
greedy MST algorithms using a variety of priority queues.
They concluded that the best MST algorithm is Jarník’s [7]
(also attributed to Prim and Dijkstra; see [3,7,12]) as im-
plemented with a pairing heap [13]. Katriel, Sanders, and
Träff [10] designed and implemented a non-greedy ran-
domized MST algorithm based on that of Karger et al. [9].
They concluded that on moderately dense graphs it runs
substantially faster than the greedy algorithms tested by
Moret and Shapiro.
Cross References
Randomized Minimum Spanning Tree
Recommended Reading
1. Bor˚uvka, O.: O jistém problému minimálním. Práce Moravské
P
ˇ
rírodov
ˇ
edecké Spole
ˇ
cnosti 3, 37–58 (1926). In Czech
2. Chazelle, B.: A minimum spanning tree algorithm with inverse-
Ackermann type complexity. J. ACM 47(6), 1028–1047 (2000)
3. Cormen, TH., Leiserson, C.E., Rivest, R.L., Stein, C.: Introduction
to Algorithms. MIT Press, Cambridge (2001)
4. Eppstein, D.: Geometry in action: minimum spanning trees.
http://www.ics.uci.edu/~eppstein/gina/mst.html
5. Gabow,H.N.,Galil,Z.,Spencer,T.H.,Tarjan,R.E.:Efficientalgo-
rithms for finding minimum spanning trees in undirected and
directed graphs. Combinatorica 6, 109–122 (1986)
6. Garey, M.R., Johnson, D.S.: Computers and intractability:
a guide to NP-completeness. Freeman, San Francisco (1979)
7. Graham, R.L., Hell, P.: On the history of the minimum spanning
tree problem. Ann. Hist. Comput. 7(1), 43–57 (1985)
8. Ion, A., Kropatsch, W.G., Haxhimusa, Y.: Considerations re-
garding the minimum spanning tree pyramid segmentation
method. In: Proc. 11th Workshop Structural, Syntactic, and Sta-
tistical Pattern Recognition (SSPR). LNCS, vol. 4109, pp. 182–
190. Springer, Berlin (2006)
9. Karger, D.R., Klein, P.N., Tarjan, R.E.: A randomized linear-time
algorithm for finding minimum spanning trees. J. ACM 42,
321–329 (1995)
10. Katriel, I., Sanders, P., Träff, J.L.: A practical minimum spanning
tree algorithm using the cycle property. In: Proc. 11th Annual
European Symposium on Algorithms. LNCS, vol. 2832, pp. 679–
690. Springer, Berlin (2003)
11. Moret, B.M.E., Shapiro, H.D.: An empirical assessment of algo-
rithms for constructing a minimum spanning tree. In: DIMACS
Ser. Discrete Math. Theoret. Comput. Sci., vol. 15, Am. Math.
Soc., Providence, RI (1994)
12. Pettie, S.: On the shortest path and minimum spanning tree
problems. Ph.D. thesis, The University of Texas, Austin, August
2003
13. Pettie, S.: Towards a final analysis of pairing heaps. In: Proc.
46th Annual Symposium on Foundations of Computer Science
(FOCS), 2005, pp. 174–183
14. Pettie, S., Ramachandran, V.: An optimal minimum spanning
tree algorithm. J. ACM 49(1), 16–34 (2002)
15. Pettie, S., Ramachandran, V.: A shortest path algorithm for real-
weighted undirected graphs. SIAM J. Comput. 34(6), 1398–
1431 (2005)
16. Preparata, F.P., Shamos, M.I.: Computational geometry.
Springer, New York (1985)
17. Subramaniam, S., Pope, S.B.: A mixing model for turbulent
reactive flows based on euclidean minimum spanning trees.
Combust. Flame 115(4), 487–514 (1998)