Skip to main content

An I/O Efficient Algorithm for Minimum Spanning Trees

  • Conference paper
  • First Online:
Book cover Combinatorial Optimization and Applications

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9486))

  • 1063 Accesses

Abstract

An \(O(\mathrm{Sort}(E)\cdot \log \log _{E/V} B)\) I/Os algorithm for computing a minimum spanning tree of a graph \(G=(V,E)\) is presented, where \(\mathrm{Sort}(E)=(E/B)\log _{M/B}(E/B)\), M is the main memory size, and B is the block size. This improves on the previous bound of \(O(\mathrm{Sort}(E) \cdot \log \log (VB/E))\) I/Os by Arge et al. for all values of V, E and B, for which I/O optimality is still open. In particular, our algorithm matches the lowerbound \(\varOmega (E/V \cdot \mathrm{Sort}(V))\), when \(E/V \ge B^{\epsilon }\) for a constant \(\epsilon > 0\), an \(O(\log \log B)\) factor improvement over the algorithm of Arge et al. Our algorithm can compute the connected components too, for the same number of I/Os, which is an improvement on the best known upper bound.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Arge, L.: The buffer tree: a technique for designing batched external data structures. Algorithmica 37(1), 1–24 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  2. Abello, J., Buchsbaum, A.L., Westbrook, J.R.: A functional approach to external graph algorithms. Algorithmica 32, 437–458 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  3. Aggarwal, A., Vitter, J.S.: Complexity of sorting and related problems. Commun. ACM 31(9), 1116–1127 (1988)

    Article  MathSciNet  Google Scholar 

  4. Arge, L., Brodal, G.S., Toma, L.: On external-memory MST, SSSP, and muti-way planar graph separation. J. Algorithms 53, 186–206 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  5. Bhushan, A., Gopalan, S.: External memory soft heap, and hard heap, a meldable priority queue. In: Gudmundsson, J., Mestre, J., Viglas, T. (eds.) COCOON 2012. LNCS, vol. 7434, pp. 360–371. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

  6. Borůvka, O.: O jistém problému minimálním. Práca Moravské Přírodovědecké Společnpsti 3, 37–58 (1926)

    Google Scholar 

  7. Chiang, Y.J., Goodrich, M.T., Grove, E.F., Tamassia, R., Vengroff, D.E., Vitter, J.S.: External-memory graph algorithms. In: Proceedings of the ACM-SIAM Symposium on Discrete Algorithms, pp. 139–149 (1995)

    Google Scholar 

  8. Chin, F., Lam, J., Chen, I.: Efficient parallel algorithms for some graph problems. Commun. ACM 25, 659–665 (1982)

    Article  MathSciNet  MATH  Google Scholar 

  9. Chong, K.W., Han, Y., Igarashi, Y., Lam, T.W.: Improving the efficiency of parallel minimum spanning tree algorithms. Discrete Appl. Math. 126, 33–54 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  10. Cole, R., Vishkin, U.: Approximate parallel scheduling, II. Applications to logarithmic-time optimal parallel algorithms. Inf. Comput. 92(1), 1–47 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  11. Cormen, T.H., Leiserson, C.E., Rivest, R.L.: Introduction to Algorithms. MIT Press, Cambridge (1990)

    MATH  Google Scholar 

  12. Fadel, R., Jakobsen, K.V., Katajainen, J., Teuhola, J.: Heaps and heapsort on secondary storage. Theoret. Comput. Sci. 220, 345–362 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  13. JáJá, J.F.: Introduction to Parallel Algorithms. Addison-Wesley, Reading (1992)

    MATH  Google Scholar 

  14. Kumar, V., Schwabe, E.: Improved algorithms and data structures for solving graph problems in external memory. In: Proceedings of the IEEE Symposium on Parallel and Distributed Processing, pp. 169–177 (1996)

    Google Scholar 

  15. Meyer, U., Sanders, P., Sibeyn, J.F. (eds.): Algorithms for Memory Hierarchies. LNCS, vol. 2625. Springer, Heidelberg (2003)

    MATH  Google Scholar 

  16. Mungala, K., Ranade, A.: I/O-complexity of graph algorithms. In: Proceedings of the ACM-SIAM Symposium on Discrete Algorithms, pp. 687–694 (1999)

    Google Scholar 

  17. Vitter, J.S.: Algorithms and Data Structures for External Memory, Series on Foundations and Trends in Theoretical Computer Science. Now Publishers, Hanover (2008)

    Google Scholar 

Download references

Acknowledgements

We wish to thank anonymous reviewers for their comments on an earlier version of this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Gopalan Sajith .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Bhushan, A., Sajith, G. (2015). An I/O Efficient Algorithm for Minimum Spanning Trees. In: Lu, Z., Kim, D., Wu, W., Li, W., Du, DZ. (eds) Combinatorial Optimization and Applications. Lecture Notes in Computer Science(), vol 9486. Springer, Cham. https://doi.org/10.1007/978-3-319-26626-8_36

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-26626-8_36

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-26625-1

  • Online ISBN: 978-3-319-26626-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics