English

New Tradeoffs for Decremental Approximate All-Pairs Shortest Paths

Data Structures and Algorithms 2024-04-30 v4

Abstract

We provide new tradeoffs between approximation and running time for the decremental all-pairs shortest paths (APSP) problem. For undirected graphs with mm edges and nn nodes undergoing edge deletions, we provide four new approximate decremental APSP algorithms, two for weighted and two for unweighted graphs. Our first result is (2+ϵ)(2+ \epsilon)-APSP with total update time O~(m1/2n3/2)\tilde{O}(m^{1/2}n^{3/2}) (when m=n1+cm= n^{1+c} for any constant 0<c<10<c<1). Prior to our work the fastest algorithm for weighted graphs with approximation at most 33 had total O~(mn)\tilde O(mn) update time for (1+ϵ)(1+\epsilon)-APSP [Bernstein, SICOMP 2016]. Our second result is (2+ϵ,Wu,v)(2+\epsilon, W_{u,v})-APSP with total update time O~(nm3/4)\tilde{O}(nm^{3/4}), where the second term is an additive stretch with respect to Wu,vW_{u,v}, the maximum weight on the shortest path from uu to vv. Our third result is (2+ϵ)(2+ \epsilon)-APSP for unweighted graphs in O~(m7/4)\tilde O(m^{7/4}) update time, which for sparse graphs (m=o(n8/7)m=o(n^{8/7})) is the first subquadratic (2+ϵ)(2+\epsilon)-approximation. Our last result for unweighted graphs is (1+ϵ,2(k1))(1+\epsilon, 2(k-1))-APSP, for k2k \geq 2 , with O~(n21/km1/k)\tilde{O}(n^{2-1/k}m^{1/k}) total update time (when m=n1+cm=n^{1+c} for any constant c>0c >0). For comparison, in the special case of (1+ϵ,2)(1+\epsilon, 2)-approximation, this improves over the state-of-the-art algorithm by [Henzinger, Krinninger, Nanongkai, SICOMP 2016] with total update time of O~(n2.5)\tilde{O}(n^{2.5}). All of our results are randomized, work against an oblivious adversary, and have constant query time.

Keywords

Cite

@article{arxiv.2211.01152,
  title  = {New Tradeoffs for Decremental Approximate All-Pairs Shortest Paths},
  author = {Michal Dory and Sebastian Forster and Yasamin Nazari and Tijn de Vos},
  journal= {arXiv preprint arXiv:2211.01152},
  year   = {2024}
}

Comments

Accepted to ICALP 2024. Compared to the previous version, this manuscript contains an improved version of Theorem 1.1 and the new Theorem 1.3