skip to main content
research-article

Streaming and fully dynamic centralized algorithms for constructing and maintaining sparse spanners

Published: 31 March 2011 Publication History

Abstract

We present a streaming algorithm for constructing sparse spanners and show that our algorithm significantly outperforms the state-of-the-art algorithm for this task (due to Feigenbaum et al.). Specifically, the processing time per edge of our algorithm is O(1), and it is drastically smaller than that of the algorithm of Feigenbaum et al., and all other efficiency parameters of our algorithm are no greater (and some of them are strictly smaller) than the respective parameters of the state-of-the-art algorithm.
We also devise a fully dynamic centralized algorithm maintaining sparse spanners. This algorithm has incremental update time of O(1), and a nontrivial decremental update time. To our knowledge, this is the first fully dynamic centralized algorithm for maintaining sparse spanners that provides nontrivial bounds on both incremental and decremental update time for a wide range of stretch parameter t.

References

[1]
Alon, N., Matias, Y., and Szegedy, M. 1999. The space complexity of approximating the frequency moments. J. Comput. Syst. Sci. 58, 137--147.
[2]
Ausillo, G., Franciosa, P. G., and Italiano, G. F. 2005. Small stretch spanners on dynamic graphs. In Proceedings of the 13th European Symposium on Algorithms (ESA). 532--543.
[3]
Awerbuch, B. 1985. Complexity of network synchronization. J. ACM 4, 804--823.
[4]
Awerbuch, B., Kutten, S., and Peleg, D. 1992. Online load balancing in a distributed network. In Proceedings of the 24th ACM Symposium on Theory of Computing. 571--580.
[5]
Awerbuch, B. and Peleg, D. 1990. Network synchronization with polylogarithmic overhead. In Proceedings of the 31st IEEE Symposium on Foundations of Computer Science. 514--522.
[6]
Awerbuch, B. and Peleg, D. 1992. Routing with polynomial communication-space tradeoff. SIAM J. Discr. Math. 5, 151--162.
[7]
Bar-Yossef, Z., Kumar, R., and Sivakumar, D. 2002. Reductions in streaming algorithms, with an applications to counting triangles in graphs. In Proceedings of the 13th ACM-SIAM Symposium on Discrete Algorithms. 623--632.
[8]
Baswana, S. 2006a. Dynamic algorithms for graph spanners. In Proceedings of the European Symposium of Algorithms (ESA'06). 76--87.
[9]
Baswana, S. 2008. Streaming algorithm for graph spanners—Single pass and constant processing time per edge. Inf. Process. Lett. 106, 3, 110--114.
[10]
Baswana, S. November 2006b. Faster streaming algorithms for graph spanners. ArXiv:cs/0611023.
[11]
Baswana, S., Kavitha, T., Mehlhorn, K., and Pettie, S. 2005. New constructions of (a,b)-spanners and additive spanners. In Proceedings of the ACM-SIAM Symposium on Discrete Algorithms. 672--681.
[12]
Baswana, S. and Sarkar, S. 2008. Fully dynamic algorithms for graph spanners with polylogarithmic update time. In Proceedings of the 19th Annual Symposium on Discrete Algorithms. 672--681.
[13]
Baswana, S. and Sen, S. 2003. A simple linear time algorithm for computing a (2k−1)-spanner of O(n1+1/k) size in weighted graphs. In Proceedings of the 30th International Colloquium on Automata, Languages and Programming. Lecture Notes in Computer Science, vol. 2719. Springer, 384--396.
[14]
Corman, T., Leiserson, C., Rivest, R., and Stein, C. 2001. Introduction to Algorithms, 2nd Ed. McGraw-Hill Book Company.
[15]
Dietzfelbinger, M. and Meyer auf der Heide, F. 1990. A new universal class of hash functions and dynamic hashing in real time. In Proceedings of the 17th International Colloquium on Automata, Languages and Programming (ICALP). 6--19.
[16]
Dor, D., Halperin, S., and Zwick, U. 2000. All-Pairs almost shortest paths. SIAM J. Comput. 29, 1740--1759.
[17]
Elkin, M. 2001. Computing almost shortest paths. In Proceedings of the 20th ACM Symposium on Principles of Distributed Computing. 53--62.
[18]
Elkin, M. 2007a. A near-optimal distributed fully dynamic algorithm for maintaining sparse spanners. In Proceedings of the 26th Annual Symposium on Principles of Distributed Computing. 185--194.
[19]
Elkin, M. 2007b. A streaming and fully dynamic centralized algorithm for maintaining sparse spanners. In Proceedings of the International Colloquium Autonata, Languages, and Programming. 716--727.
[20]
Elkin, M. 2006. A near-optimal fully dynamic distributed algorithm for maintaining sparse spanners. ArXiv:cs/0611001.
[21]
Elkin, M. and Peleg, D. 2001. Spanner constructions for general graphs. In Proceedings of the 33th ACM Symposium on Theory of Computing. 173--182.
[22]
Elkin, M. and Zhang, J. 2006. Efficient algorithms for constructing (1+&epsis;,β)-spanners in the distributed and streaming models. Distrib. Comput. 18, 375--385.
[23]
Feigenbaum, J., Kannan, S., McGregor, A., Suri, S., and Zhang, J. 2004. On graph problems in a semi-streaming model. In Proceedings of the 31st International Colloquium on Automata, Languages and Programming. 531--543.
[24]
Feigenbaum, J., Kannan, S., McGregor, A., Suri, S., and Zhang, J. 2008. Graph distances in the streaming model: The value of space. SIAM J. Comput. 38, 1700--1727.
[25]
Feigenbaum, J., Strauss, S. K. M., and Viswanathan, M. 2002. An approximate L1 difference algorithm for massive data streams. J. Comput. 32, 131--151.
[26]
Han, Y. 2004. Deterministic sorting in o(n log log n) time and linear space. J. Algor. 50, 1, 96--105.
[27]
Han, Y. and Thorup, M. 2002. Integer sorting in o(n &sqrt; log log n) expected time and linear space. In Proceedings of the 43rd Symposium on Foundations of Computer Science (FOCS). 135--144.
[28]
Kirpatrick, D. and Reisch, S. 1984. Upper bounds for sorting integers on random access machines. Theor. Comput. Sci. 28, 263--276.
[29]
Peleg, D. and Ullman, J. D. 1989. An optimal synchronizer for the hypercube. SIAM J. Comput. 18, 740--747.
[30]
Peleg, D. and Upfal, E. 1989. A tradeoff between size and efficiency for routing tables. J. ACM 36, 510--530.
[31]
Roditty, L. and Zwick, U. 2004. Dynamic approximate all-pairs shortest paths in undirected graphs. In Proceedings of the 45th Annual IEEE Symposium on Foundations of Computer Science. 499--508.
[32]
Thorup, M. and Zwick, U. 2001a. Approximate distance oracles. In Proceedings of the 33rd ACM Symposium on Theory of Computing. 183--192.
[33]
Thorup, M. and Zwick, U. 2001b. Compact routing schemes. In Proceedings of the 13th Symposium on Parallelism in Algorithms and Architectures. 1--10.
[34]
Thorup, M. and Zwick, U. 2006. Spanners and emulators with sublinear distance errors. In Proceedings of Symposium on Discrete Algorithms. 802--809.
[35]
Woodruff, D. 2006. Lower bounds for additive spanners, emulators, and more. In Proceedings of the Annual Symposium on Foundations of Computer Science. 389--398.

Cited By

View all
  • (2024)Online Spanners in Metric SpacesSIAM Journal on Discrete Mathematics10.1137/22M153457238:1(1030-1056)Online publication date: 12-Mar-2024
  • (2024)Decentralized Low-Stretch Trees via Low Diameter Graph DecompositionsSIAM Journal on Computing10.1137/22M148903453:2(247-286)Online publication date: 13-Mar-2024
  • (2023)Auxo: A Scalable and Efficient Graph Stream Summarization StructureProceedings of the VLDB Endowment10.14778/3583140.358315416:6(1386-1398)Online publication date: 20-Apr-2023
  • Show More Cited By

Index Terms

  1. Streaming and fully dynamic centralized algorithms for constructing and maintaining sparse spanners

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Transactions on Algorithms
      ACM Transactions on Algorithms  Volume 7, Issue 2
      March 2011
      284 pages
      ISSN:1549-6325
      EISSN:1549-6333
      DOI:10.1145/1921659
      Issue’s Table of Contents
      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]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 31 March 2011
      Accepted: 01 March 2009
      Revised: 01 March 2009
      Received: 01 July 2008
      Published in TALG Volume 7, Issue 2

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. Graph spanners
      2. streaming algorithms

      Qualifiers

      • Research-article
      • Research
      • Refereed

      Funding Sources

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)20
      • Downloads (Last 6 weeks)2
      Reflects downloads up to 03 Mar 2025

      Other Metrics

      Citations

      Cited By

      View all
      • (2024)Online Spanners in Metric SpacesSIAM Journal on Discrete Mathematics10.1137/22M153457238:1(1030-1056)Online publication date: 12-Mar-2024
      • (2024)Decentralized Low-Stretch Trees via Low Diameter Graph DecompositionsSIAM Journal on Computing10.1137/22M148903453:2(247-286)Online publication date: 13-Mar-2024
      • (2023)Auxo: A Scalable and Efficient Graph Stream Summarization StructureProceedings of the VLDB Endowment10.14778/3583140.358315416:6(1386-1398)Online publication date: 20-Apr-2023
      • (2022)Locality-sensitive orderings and applications to reliable spannersProceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing10.1145/3519935.3520042(1066-1079)Online publication date: 9-Jun-2022
      • (2022)Brief Announcement: (1+ε)-Approximate Shortest Paths in Dynamic Streams.Proceedings of the 2022 ACM Symposium on Principles of Distributed Computing10.1145/3519270.3538469(57-59)Online publication date: 20-Jul-2022
      • (2022)Fast Deterministic Fully Dynamic Distance Approximation2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS)10.1109/FOCS54457.2022.00099(1011-1022)Online publication date: Oct-2022
      • (2021)New techniques and fine-grained hardness for dynamic near-additive spannersProceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3458064.3458174(1836-1855)Online publication date: 10-Jan-2021
      • (2021)Constant-Round Spanners and Shortest Paths in Congested Clique and MPCProceedings of the 2021 ACM Symposium on Principles of Distributed Computing10.1145/3465084.3467928(223-233)Online publication date: 21-Jul-2021
      • (2021)Near-Optimal Approximate Shortest Paths and Transshipment in Distributed and Streaming ModelsSIAM Journal on Computing10.1137/19M128695550:3(815-856)Online publication date: 4-May-2021
      • (2020)Multi-Pass Graph Streaming Lower Bounds for Cycle Counting, MAX-CUT, Matching Size, and Other Problems2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS)10.1109/FOCS46700.2020.00041(354-364)Online publication date: Nov-2020
      • Show More Cited By

      View Options

      Login options

      Full Access

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Figures

      Tables

      Media

      Share

      Share

      Share this Publication link

      Share on social media