Research Article

The comparison of three MST algorithms

Rener Zhang*
Beijing Institute of Technology

* Corresponding author: [email protected]

Abstract

The minimum spanning tree, connecting all the nodes of a connected, weighted graph with the minimum possible total edge weight, is a fundamental concept of graph theory. Thus, how to find the minimum spanning tree (MST) with higher efficiency appears to be crucial. Three kinds of algorithms for this problem have already been developed: Kruskal, Prim, Boruvka. In order to make readers have a better understanding of the three algorithms in the process of studying and teaching, this paper uses the method of comparing to indicate the differences and commonalities between these three algorithms, draws a conclusion afterwards, and points out the most suitable situations to apply them in the end: Kruskal’s algorithm is suitable in sparse graphs while Prim’s algorithm and Boruvka’s algorithm are suitable in dense graphs.

Keywords: algorithms; data structure; Kruskal; Prim; Boruvka
Published: October 23, 2023
DOI: 10.54254/2755-2721/17/20230939
Volume: ACE Vol.17
pp. 191-197
Download PDF

References

  1. R. L. Graham and P. Hell, “On the history of the minimum spanning tree problem,” IEEE Annals of the History of Computing, vol. 7, no. 1, pp. 43–57, 1985.
  2. T. Mahapatra and M. Pal, “Fuzzy colouring of m-polar fuzzy graph and its application,” Journal of Intelligent and Fuzzy Systems, vol. 35, no. 6, pp. 6379–6391, 2018.
  3. T. Mahapatra and M. Pal, “An investigation on m-polar fuzzy threshold graph and its application on resource power controlling system,” Journal of Ambient Intelligence and Humanized Computing, vol. 13, no. 1, pp. 501–514, 2022.
  4. M. Laszlo and S. Mukherjee, “Minimum spanning tree partitioning algorithm for microaggregation,” IEEE Transactions on Knowledge and Data Engineering, vol. 17, no. 7, pp. 902–911, 2005.
  5. J. B. Kruskal, “On the shortest spanning subtree of a graph and the traveling salesman problem,” Proceedings of the American Mathematical Society, vol. 7, no. 1, pp. 48–50, 1956.
  6. P. C. Pop, “The generalized minimum spanning tree problem: an overview of formulations, solution procedures and latest advances,” European Journal of Operational Research, vol. 283, pp. 1–15, 2020.
  7. R. C. Prim, “Shortest connection networks and some generalizations,” Bell System Technical Journal, vol. 36, no. 6, pp. 1389–1401, 1957.
  8. J. Nesetril, E. Milkova, and H. Nesetrilova, “Otakar Boruvka on minimum spanning tree problem - translation of both the 1926 papers, comments, history,” Discrete Mathematics, vol. 233, no. 1-3, pp. 3–36, 2001.
  9. H. Li, W. Mao, A. Zhang, and C. Li, “An improved distribution network reconfiguration method based on minimum spanning tree algorithm and heuristic rules,” International Journal of Electrical Power & Energy Systems, vol. 82, pp. 466–473, 2016.
  10. E. van Dellen, L. Douw, A. Hillebrand et al., “Epilepsy surgery outcome and functional network alterations in longitudinal MEG: a minimum spanning tree analysis,” NeuroImage, vol. 86, no. 1, pp. 354–363, 2014.