The analysis and application of Prim algorithm, Kruskal algorithm, Boruvka algorithm
Abstract
Minimum spanning tree has many applications in real life. For example, the government needs to build roads between many cities. Therefore, it is necessary to find the plan with the shortest path to save the cost. The problem is essentially generating a minimal spanning tree, and it require a suitable algorithm to find the minimum spanning tree. In this paper, the author analyzes the structure and time complexity of the Prim algorithm, the Kruskal algorithm and the Boruvka algorithm. Through this research, the author finds Prim algorithm is suitable for dense graphs. The Kruskal algorithm can generate the minimum spanning tree in sparse tree. And the Boruvka algorithm is suitable for graphs that have some special characters. Based on the above conclusions, the author gives some suggestions for urban highway network planning.
References
- Iqbal, M., Siahaan, A. P. U., Purba, N. E., & Purwanto, D. (2017). Prim's Algorithm for Optimizing Fiber Optic Trajectory Planning. Int. J. Sci. Res. Sci. Technol, 3(6), pp. 504-509.
- Medak, J. (2018). Review and Analysis of Minimum Spanning Tree Using Prim's Algorithm. International Journal of Computer Science Trends and Technology (IJCST),Volume 6.
- Berger, R., Dubuisson, S., & Gonzales, C. (2012). Fast multiple histogram computation using Kruskal's algorithm. In 2012 19th IEEE International Conference on Image Processing, pp. 2373-2376. IEEE.
- Greenberg, H. J. (1998). Greedy algorithms for minimum spanning tree. University of Colorado at Denver.
- Mariano, A., Proenca, A., & Sousa, C. D. S. (2015). A generic and highly efficient parallel variant of boruvka's algorithm. In 2015 23rd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, pp. 610-617. IEEE.
- Bergantiños, G., & Vidal-Puga, J. (2011). The folk solution and Boruvka’s algorithm in minimum cost spanning tree problems. Discrete applied mathematics, 159(12), pp. 1279-1283.
- Jarvis, J. P., & Whited, D. E. (1983). Computational experience with minimum spanning tree algorithms. Operations Research Letters, 2(1), pp. 36-41.
- Kershenbaum, A., & Van Slyke, R. (1972). Computing minimum spanning trees efficiently. In Proceedings of the ACM annual conference, 1, pp. 518-527.
- Deng, J., Wang, W., Quan, S., Zhan, R., & Zhang, J. (2022). Hierarchical Superpixel Segmentation for PolSAR Images Based on the Boruvka Algorithm. Remote Sensing, 14(19), p. 4721.
- Huang, F., Gao, P., & Wang, Y. (2009). Comparison of Prim and Kruskal on Shanghai and Shenzhen 300 Index hierarchical structure tree. In 2009 International Conference on Web Information Systems and Mining, pp. 237-241. IEEE.
- Paryati and Salahddine Krit. (2021). The Implementation of Kruskal’s Algorithm for Minimum Spanning Tree in a Graph. MATEC Web of Conferences, 348.