Dynamic approximate all-pairs shortest paths in undirected graphs

Liam Roditty*, Uri Zwick

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

We obtain three new dynamic algorithms for the approximate all-pairs shortest paths problem in unweighted undirected graphs: 1. For any fixed ε > 0, a decremental algorithm with an expected total running time of Õ(mn), where m is the number of edges and n is the number of vertices in the initial graph. Each distance query is answered in O(1) worst-case time, and the stretch of the returned distances is at most 1 + ε. The algorithm uses Õ(n2) space. 2. For any fixed integer k ≥ 1, a decremental algorithm with an expected total running time of Õ(mn). Each query is answered in O(1) worst-case time, and the stretch of the returned distances is at most 2k - 1. This algorithm uses, however, only O(m + n1+1/k) space. It is obtained by dynamizing techniques of Thorup and Zwick. In addition to being more space efficient, this algorithm is also one of the building blocks used to obtain the first algorithm. 3. For any fixed ε, δ > 0 and every t ≤ m1/2-δ, a fully dynamic algorithm with an expected amortized update time of Õ(mn/t) and worst-case query time of O(t). The stretch of the returned distances is at most 1 + ε. All algorithms can also be made to work on undirected graphs with small integer edge weights. If the largest edge weight is b, then all bounds on the running times are multiplied by b

Original languageEnglish
Title of host publicationProceedings - 45th Annual IEEE Symposium on Foundations of Computer Sciences, FOCS 2004
Pages499-508
Number of pages10
DOIs
StatePublished - 2004
EventProceedings - 45th Annual IEEE Symposium on Foundations of Computer Science, FOCS 2004 - Rome, Italy
Duration: 17 Oct 200419 Oct 2004

Publication series

NameProceedings - Annual IEEE Symposium on Foundations of Computer Science, FOCS
ISSN (Print)0272-5428

Conference

ConferenceProceedings - 45th Annual IEEE Symposium on Foundations of Computer Science, FOCS 2004
Country/TerritoryItaly
CityRome
Period17/10/0419/10/04

Cite this