Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/800193.569966acmconferencesArticle/Chapter ViewAbstractPublication Pagesacm-national-conferenceConference Proceedingsconference-collections
Article
Free access

Computing minimum spanning trees efficiently

Published: 01 August 1972 Publication History

Abstract

A ubiquitous problem in mathematical programming is the calculation of minimum spanning trees. Minimum spanning tree algorithms find application in such diverse areas as: least cost electrical wiring, minimum cost connecting communication and transportation networks, network reliability problems, minimum stress networks, clustering and numerical taxonomy, algorithms for solving traveling salesman problems, and multiterminal network flows. It is therefore important to know how to carry out these computations as efficiently as possible.The problem is to find a spanning subtree of a given connected network which has minimum total length. Kruskal in 1956 showed that a "greedy" algorithm could be used; that is, if one looks at arcs in order of increasing length the first tree that can be formed is a minimum spanning tree. Shortly thereafter Prim and Dijkstra suggested another algorithm which appeared to be more efficient. Recent work suggests that a suitable implementation of Kruskal's Algorithm is computationally more efficient in a number of interesting cases, in particular when the network under consideration is sparse.A modification of Kruskal's Algorithm for the solution to the MST problem is presented and is compared with Prim's Algorithm. Prim's Algorithm is shown to have an upper bound on the number of calculations on the order of NN2, when applied to a network with NN nodes, regardless of the number of arcs in the network. The modification of Kruskal's Algorithm is shown to have an upper bound on the order of NA log2 NA calculations, where NA is the number of arcs in the network. Thus for sparse networks a dramatic reduction in execution time can be obtained by the use of Kruskal's Algorithm. The effect is enhanced by the fact that Prim's Algorithm achieves its upper bound while the Kruskal modification, in general, does not. Modifications to both Prim's and Kruskal's Algorithms are introduced which give significant improvements for the complete range of sparseness.The relative merit of each algorithm is a function of sparseness of the network, the form in which the problem data is represented, the tradeoff between computation speed and storage requirements, the amount of time one wants to spend in coding, as well as many other factors. The interaction of these factors in choosing the appropriate algorithms for important classes of applications will be discussed in detail.

References

[1]
Loberman, H. and Weinberger, "Formal Procedures for Connecting Terminals With a Minimum Total Wire Length", JACM 4, 428-437 1957
[2]
Kalaba, R., "Graph Theory and Automatic Control", in Applied Combinatorial MatheMatics, E. Beckenbach (ed.) Wiley, 1964
[3]
Gower, J. C. and Ross, G. J. S., "Minimum Spanning Trees and Single Linkage Cluster Analysis", Appl. Statistics, Vol. 18, No.1, 54-64, 1969
[4]
Zahn, C. T., "Graph-Theoretical Methods for Detecting and Describing Gestalt Clusters", IEEE Trans. on Computers, C-20, No.1, January, 1971
[5]
Van Slyke, R. and Frank, H., "Network Reliability Analysis I", Networks, Vol. 1, No. 3, 1972
[6]
Gomory, R. E. and Hu, T. C., "MultiTerminal Network Flows", J.SIAM, 9, No.4, December, 1961
[7]
Held, M. and Karp, R., "The Travelling Salesman Problem and Minimum Spanning Trees", ORSA, 18, No.6, 1138-1162, Nov.-Dec. 1970
[8]
Held, M. and Karp, R.,"The Travelling Salesman Problem and Minimum Spanning Trees: II", Mathematical Proqramminq, 1, No. 1, 1971.
[9]
Kruskal, Joseph B., Jr. "On the Shortest Spanning Subtree of a graph and the Travelling Salesman Problem", Proc. Amer. Math. Soc., 7, 48-50, 1956
[10]
Choquet, G., "Etude de Certains Reseau de Route," C.R.Ac.Sc.,206, 310, 1938
[11]
Borûvka, Otaka, "On a Minimal Problem", Prace Moravské Pridovedecké Spodecnosti, 3, 1926.
[12]
Edmonds, J. "Matroids and the Greedy Algorithm", Mathematical Programming, 1, No. 2, 1971
[13]
Obruca, A., "Algo. 1 Mintree" Computer Bulletin, p. 67, Sept. 1964
[14]
Prim, R. C., "Shortest Connection Networks and Some Generalizations," Bell System Tech. J., 1389-1401, November,1957
[15]
Dijkstra, E. W., "A Note on Two Problems in Connection with Graphs", Numerishe Mathematik, 1, 269-271, 1959
[16]
Rosenstiehl, P., "L'Arbre Minimum d'un Graphe", in Theory of Graphs, P. Rosenstiehl, ed., 1967, Gordon and Breach, N.Y.
[17]
Floyd, Robert W., "Treesort", Algorithm 113, ACM Collected Algorithms, August 1962
[18]
Floyd, Robert W., "Treesort 3", Algorithm 245, ACM Collected Algorithms December, 1964
[19]
Williams, J. W. J., "Heapsort", Algorithm 232, ACM Collected Algorithm, January, 1964
[20]
Ushakov, I. A., "An Algorithm for Checking the Connectivity of a Graph", Iev. AU.Tckh.Kib., No. 4, 85-86,1967 Trans: Eng. Cyb., No. 4, 82-83, 1967
[21]
Berge, Claude, Theory of Graphs, 152-155, 1962, Wiley
[22]
Berge, Claude and Ghouila-Houri, A., Programming Games, and Transportation Networks, 177-182
[23]
Seppanen, Jouko J., "Spanning Tree (H)" Algorithm 399, Comm. ACM, 13, No.10, October, 1970
[24]
Knuth, P. E., The Art of Computer Programminq: Volume 1--Fundamental Algorithms, Sections 2.3.3 and 2.3.4, Addison-Wesley
[25]
Read, Ronald C., "Teaching Graph Theory to Computer," in Recent Progress Combinatorics, W. T. Tutte (ed) Academic 1969
[26]
Johnson, Ellis, Personal Communication, 1972.
[27]
London, Ralph L., "Certification of Algorithm 245(M1) Treesorts", Certification of Algorithm 245, ACM Collected Algorithms, 1970.

Cited By

View all
  • (2024)Fast and Memory-Efficient Approximate Minimum Spanning Tree Generation for Large DatasetsArabian Journal for Science and Engineering10.1007/s13369-024-08974-y50:2(1233-1246)Online publication date: 21-Jun-2024
  • (2022)Transport in mazes; simple geometric representations to guide the design of engineered systemsChemical Engineering Science10.1016/j.ces.2021.117416250(117416)Online publication date: Mar-2022
  • (2020)Privacy-Aware Energy-Efficient Framework Using the Internet of Medical Things for COVID-19IEEE Internet of Things Magazine10.1109/IOTM.0001.20001233:3(64-68)Online publication date: Sep-2020
  • Show More Cited By
  1. Computing minimum spanning trees efficiently

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    ACM '72: Proceedings of the ACM annual conference - Volume 1
    August 1972
    194 pages
    ISBN:9781450374910
    DOI:10.1145/800193
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 01 August 1972

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. connectivity
    2. minimum spanning trees
    3. sorting

    Qualifiers

    • Article

    Conference

    ACM '72
    Sponsor:
    August 1, 1972
    Massachusetts, Boston, USA

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)370
    • Downloads (Last 6 weeks)22
    Reflects downloads up to 19 Feb 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Fast and Memory-Efficient Approximate Minimum Spanning Tree Generation for Large DatasetsArabian Journal for Science and Engineering10.1007/s13369-024-08974-y50:2(1233-1246)Online publication date: 21-Jun-2024
    • (2022)Transport in mazes; simple geometric representations to guide the design of engineered systemsChemical Engineering Science10.1016/j.ces.2021.117416250(117416)Online publication date: Mar-2022
    • (2020)Privacy-Aware Energy-Efficient Framework Using the Internet of Medical Things for COVID-19IEEE Internet of Things Magazine10.1109/IOTM.0001.20001233:3(64-68)Online publication date: Sep-2020
    • (2020)Secure and energy-efficient framework using Internet of Medical Things for e-healthcareJournal of Infection and Public Health10.1016/j.jiph.2020.06.02713:10(1567-1575)Online publication date: Oct-2020
    • (2019)Capacitated Graph Theoretical Algorithms for Wireless Sensor Networks Towards Internet of ThingsHandbook of Research on the IoT, Cloud Computing, and Wireless Network Optimization10.4018/978-1-5225-7335-7.ch017(347-382)Online publication date: 2019
    • (2019)Multicamera 3D Reconstruction of Dynamic Surgical Cavities: Camera Grouping and Pair Sequencing2019 International Symposium on Medical Robotics (ISMR)10.1109/ISMR.2019.8710190(1-7)Online publication date: Apr-2019
    • (2018)Query Expansion Based on Semantic Related NetworkPRICAI 2018: Trends in Artificial Intelligence10.1007/978-3-319-97310-4_3(19-28)Online publication date: 27-Jul-2018
    • (2017)A Parallel Algorithm for Minimum Spanning Tree on GPU2017 International Symposium on Computer Architecture and High Performance Computing Workshops (SBAC-PADW)10.1109/SBAC-PADW.2017.20(67-72)Online publication date: Oct-2017
    • (2017)Exploring the parallel implementations of the three classical MST algorithms2017 International Conference on Inventive Communication and Computational Technologies (ICICCT)10.1109/ICICCT.2017.7975216(340-346)Online publication date: Mar-2017
    • (2016)An efficient Minimum Spanning Tree algorithm2016 IEEE Symposium on Computers and Communication (ISCC)10.1109/ISCC.2016.7543874(1047-1052)Online publication date: Jun-2016
    • Show More Cited By

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Login options

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media