Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.5555/2133036.2133140acmconferencesArticle/Chapter ViewAbstractPublication PagessodaConference Proceedingsconference-collections
research-article

Improved dynamic algorithms for maintaining approximate shortest paths under deletions

Published: 23 January 2011 Publication History

Abstract

We present the first dynamic shortest paths algorithms that make any progress beyond a long-standing O(n) update time barrier (while maintaining a reasonable query time), although it is only progress for not-too-sparse graphs. In particular, we obtain new decremental algorithms for two approximate shortest-path problems in unweighted, undirected graphs. Both algorithms are randomized (Las Vegas).
• Given a source s, we present an algorithm that maintains (1 + ε)-approximate shortest paths from s with an expected total update time of Õ(n2+O(1/√log n)) over all deletions (so the amortized time is about Õ(n2/m)). The worst-case query time is constant. The best previous result goes back three decades to Even and Shiloach [16] and Dinitz [12]. They show how to decrementally maintain an exact shortest path tree with a total update time of O(mn) (amortized update time O(n)). Roditty and Zwick [22] have shown that O(mn) is actually optimal for exact paths (barring a better combinatorial algorithm for boolean matrix multiplication), unless we are willing to settle for a Ω(n) query time. In fact, until now, even approximate dynamic algorithms were not able to go beyond O(mn).
• For any fixed integer k ≥ 2, we present an algorithm that decrementally maintains a distance oracle (for all pairs shortest distances) with a total expected update time of Õ(n2+1/k+O(1/√log n)) (amortized update time about Õ(n2+1/k/m). The space requirement is only O(m + n1+1/k), the stretch of the returned distances is at most 2k − 1 + ε, and the worst-case query time is O(1). The best previous result of Roditty and Zwick [21] had a total update time of Õ(mn) and a stretch of 2k − 1. Note that our algorithm implicitly solves the decremental all-pairs shortest path problem with the same bounds; the best previous approximation algorithm of Roditty and Zwick [21] returned (1 + ε) approximate distances, but used O(n2) space, and required Õ(mn) total update time. As with the previous problem, our algorithm is the first to make progress beyond the O(mn) total update time barrier while maintaining a small query time.
We present a general framework for accelerating decremental algorithms. In particular, our main idea is to run existing decremental algorithms on a sparse subgraph (such as a spanner or emulator) of the graph rather than on the original graph G. Although this is a common approach for static approximate shortest-path problems, it has never been used in a decremental setting because maintaining the subgraph H as edges are being deleted from G might require inserting edges into H, thus ruining the "decrementality" of the setting. We overcome this by presenting an emulator whose maintenance only requires a limited number of well-behaved insertions.
In other words, we present a general technique for running decremental algorithms on a sparse subgraph of the graph. Once our framework is in place, applying it to any particular decremental algorithm only requires trivial modifications; most of the work consists of showing that these algorithms as they are still work in our restricted fully dynamic setting, where we encounter not just arbitrary deletions (as in the original setting), but also restricted insertions.

References

[1]
D. Aingworth, C. Chekuri, P. Indyk, and R. Motwani. Fast estimation of diameter and shortest paths (without matrix multiplication). SIAM Journal on Computing, 28:1167--1181, 1999.
[2]
G. Ausiello, G. F. Italiano, A. Marchetti-Spaccamela, and U. Nanni. Incremental algorithms for minimal length paths. J. Algorithms, 12(4):615--638, 1991.
[3]
B. Awerbuch, B. Berger, L. Cowen, and D. Peleg. Near-linear time construction of sparse neighborhood covers. SIAM Journal on Computing, 28:263--277, 1999.
[4]
S. Baswana, R. Hariharan, and S. Sen. Improved decremental algorithms for transitive closure and all-pairs shortest paths. In Proc. of 34th STOC, pages 117--123, 2002.
[5]
S. Baswana, R. Hariharan, and S. Sen. Maintaining all-pairs approximate shortest paths under deletion of edges. In SODA, pages 394--403, 2003.
[6]
S. Baswana, R. Hariharan, and S. Sen. Improved decremental algorithms for maintaining transitive closure and all-pairs shortest paths. J. Algorithms, 62(2):74--92, 2007.
[7]
A. Bernstein. Fully dynamic approximate all-pairs shortest paths with query and close to linear update time. In Proc. of the 50th FOCS, pages 50--60, Atlanta, GA, 2009.
[8]
E. Cohen. Fast algorithms for constructing t-spanners and paths with stretch t. SIAM Journal on Computing, 28:210--236, 1999.
[9]
E. Cohen and U. Zwick. All-pairs small-stretch paths. Journal of Algorithms, 38:335--353, 2001.
[10]
C. Demetrescu and G. F. Italiano. A new approach to dynamic all pairs shortest paths. JACM: Journal of the ACM, 51, 2004.
[11]
C. Demetrescu and G. F. Italiano. Fully dynamic all pairs shortest paths with real edge weights. Journal of Computer and System Sciences, 72(5):813--837, 2006. Special issue of FOCS'01.
[12]
Y. Dinitz. Dinitz' algorithm: The original version and Even's version. In Essays in Memory of Shimon Even, pages 218--240, 2006.
[13]
D. Dor, S. Halperin, and U. Zwick. All pairs almost shortest paths. SIAM Journal on Computing, 29:1740--1759, 2000.
[14]
M. Elkin. Computing almost shortest paths. In Proc. of 20th PODC, pages 53--62, 2001.
[15]
M. Elkin and D. Peleg. (1 + ε, β)-spanner constructions for general graphs. SIAM J. Computing, 33(3):608--631, 2004.
[16]
S. Even and Y. Shiloach. An on-line edge deletion problem. J. ACM, 28(1):1--4, 1981.
[17]
M. R. Henzinger and V. King. Fully dynamic biconnectivity and transitive closure. In FOCS, pages 664--672, 1995.
[18]
V. King. Fully dynamic algorithms for maintaining all-pairs shortest paths and transitive closure in digraphs. In Proc. of the 40th FOCS, pages 81--91, 1999.
[19]
V. King and M. Thorup. A space saving trick for directed dynamic transitive closure and shortest path algorithms. In Jie Wang, editor, COCOON, volume 2108 of Lecture Notes in Computer Science, pages 268--277. Springer, 2001.
[20]
G. Ramalingam and T. W. Reps. An incremental algorithm for a generalization of the shortest-path problem. J. Algorithms, 21(2):267--305, 1996.
[21]
L. Roditty and U. Zwick. Dynamic approximate all-pairs shortest paths in undirected graphs. In Proc. of the 45th FOCS, pages 499--508, Rome, Italy, 2004.
[22]
L. Roditty and U. Zwick. On dynamic shortest paths problems. In Proc. of the 12th ESA, pages 580--591, 2004.
[23]
M. Thorup. Fully-dynamic all-pairs shortest paths: Faster and allowing negative cycles. In SWAT: Scandinavian Workshop on Algorithm Theory, 2004.
[24]
M. Thorup. Worst-case update times for fully-dynamic all-pairs shortest paths. In Proc. of the 37th STOC, pages 112--119, 2005.
[25]
M. Thorup and U. Zwick. Approximate distance oracles. Journal of the ACM, 52(1):1--24, 2005.
[26]
Mikkel Thorup and Uri Zwick. Spanners and emulators with sublinear distance errors. In Proc. of the 17th SODA, pages 802--809, Miami, Florida, 2006.
[27]
U. Zwick. All-pairs shortest paths using bridging sets and rectangular matrix multiplication. Journal of the ACM, 49:289--317, 2002.

Cited By

View all
  • (2021)Deterministic algorithms for decremental shortest paths via layered core decompositionProceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3458064.3458211(2478-2496)Online publication date: 10-Jan-2021
  • (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)Deterministic PRAM Approximate Shortest Paths in Polylogarithmic Time and Slightly Super-Linear WorkProceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3409964.3461809(198-207)Online publication date: 6-Jul-2021
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SODA '11: Proceedings of the twenty-second annual ACM-SIAM symposium on Discrete algorithms
January 2011
1785 pages

Sponsors

Publisher

Society for Industrial and Applied Mathematics

United States

Publication History

Published: 23 January 2011

Check for updates

Qualifiers

  • Research-article

Conference

SODA '11
Sponsor:
SODA '11: 22nd ACM-SIAM Symposium on Discrete Algorithms
January 23 - 25, 2011
California, San Francisco

Acceptance Rates

Overall Acceptance Rate 411 of 1,322 submissions, 31%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)1
Reflects downloads up to 14 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2021)Deterministic algorithms for decremental shortest paths via layered core decompositionProceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3458064.3458211(2478-2496)Online publication date: 10-Jan-2021
  • (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)Deterministic PRAM Approximate Shortest Paths in Polylogarithmic Time and Slightly Super-Linear WorkProceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3409964.3461809(198-207)Online publication date: 6-Jul-2021
  • (2019)Near-Additive Spanners In Low Polynomial Deterministic CONGEST TimeProceedings of the 2019 ACM Symposium on Principles of Distributed Computing10.1145/3293611.3331635(531-540)Online publication date: 16-Jul-2019
  • (2018)Online bipartite matching with amortized O(log2 n) replacementsProceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3174304.3175331(947-959)Online publication date: 7-Jan-2018
  • (2018)Decremental Single-Source Shortest Paths on Undirected Graphs in Near-Linear Total Update TimeJournal of the ACM10.1145/321865765:6(1-40)Online publication date: 19-Nov-2018
  • (2018)Fully dynamic maximal independent set with sublinear update timeProceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing10.1145/3188745.3188922(815-826)Online publication date: 20-Jun-2018
  • (2017)Deterministic partially dynamic single source shortest paths for sparse graphsProceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3039686.3039715(453-469)Online publication date: 16-Jan-2017
  • (2017)Fully dynamic all-pairs shortest paths with worst-case update-time revisitedProceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3039686.3039714(440-452)Online publication date: 16-Jan-2017
  • (2017)Sublinear-Time Maintenance of Breadth-First Spanning Trees in Partially Dynamic NetworksACM Transactions on Algorithms10.1145/314655013:4(1-24)Online publication date: 21-Dec-2017
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media