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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Arge, L.: The buffer tree: a technique for designing batched external data structures. Algorithmica 37(1), 1–24 (2003)
Abello, J., Buchsbaum, A.L., Westbrook, J.R.: A functional approach to external graph algorithms. Algorithmica 32, 437–458 (2002)
Aggarwal, A., Vitter, J.S.: Complexity of sorting and related problems. Commun. ACM 31(9), 1116–1127 (1988)
Arge, L., Brodal, G.S., Toma, L.: On external-memory MST, SSSP, and muti-way planar graph separation. J. Algorithms 53, 186–206 (2004)
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)
Borůvka, O.: O jistém problému minimálním. Práca Moravské Přírodovědecké Společnpsti 3, 37–58 (1926)
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)
Chin, F., Lam, J., Chen, I.: Efficient parallel algorithms for some graph problems. Commun. ACM 25, 659–665 (1982)
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)
Cole, R., Vishkin, U.: Approximate parallel scheduling, II. Applications to logarithmic-time optimal parallel algorithms. Inf. Comput. 92(1), 1–47 (1991)
Cormen, T.H., Leiserson, C.E., Rivest, R.L.: Introduction to Algorithms. MIT Press, Cambridge (1990)
Fadel, R., Jakobsen, K.V., Katajainen, J., Teuhola, J.: Heaps and heapsort on secondary storage. Theoret. Comput. Sci. 220, 345–362 (1999)
JáJá, J.F.: Introduction to Parallel Algorithms. Addison-Wesley, Reading (1992)
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)
Meyer, U., Sanders, P., Sibeyn, J.F. (eds.): Algorithms for Memory Hierarchies. LNCS, vol. 2625. Springer, Heidelberg (2003)
Mungala, K., Ranade, A.: I/O-complexity of graph algorithms. In: Proceedings of the ACM-SIAM Symposium on Discrete Algorithms, pp. 687–694 (1999)
Vitter, J.S.: Algorithms and Data Structures for External Memory, Series on Foundations and Trends in Theoretical Computer Science. Now Publishers, Hanover (2008)
Acknowledgements
We wish to thank anonymous reviewers for their comments on an earlier version of this paper.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights 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)