A New Deterministic Algorithm for Fully Dynamic All-Pairs Shortest Paths

被引:7
作者
Chuzhoy, Julia [1 ]
Zhang, Ruimin [2 ]
机构
[1] Toyota Technol Inst Chicago, Chicago, IL 60637 USA
[2] Univ Chicago, Chicago, IL USA
来源
PROCEEDINGS OF THE 55TH ANNUAL ACM SYMPOSIUM ON THEORY OF COMPUTING, STOC 2023 | 2023年
关键词
all-pairs shortest path; fully dynamic algorithm; FASTER; TREES;
D O I
10.1145/3564246.3585196
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We study the fully dynamic All-Pairs Shortest Paths (APSP) problem in undirected edge-weighted graphs. Given an n-vertex graph.. with non-negative edge lengths, that undergoes an online sequence of edge insertions and deletions, the goal is to support approximate distance queries and shortest-path queries. We provide a deterministic algorithm for this problem, that, for a given precision parameter epsilon, achieves approximation factor (log log n)(2O(1/epsilon 3)), and has amortized update time O(n(epsilon) log L) per operation, where.. is the ratio of longest to shortest edge length. Query time for distance-query is O (2(O(1/epsilon)) center dot log n center dot log log L), and query time for shortest-path query is O (O vertical bar E (P)vertical bar + 2(O (1/epsilon)) center dot log n center dot log log L), where P is the path that the algorithm returns. To the best of our knowledge, even allowing any o(n)-approximation factor, no adaptive-update algorithms with better than Theta(m) amortized update time and better than Theta(n) query time were known prior to this work. We also note that our guarantees are stronger than the best current guarantees for APSP in decremental graphs in the adaptive-adversary setting. In order to obtain these results, we consider an intermediate problem, called Recursive Dynamic Neighborhood Cover (RecDynNC), that was formally introduced in [Chuzhoy, STOC '21]. At a high level, given an undirected edge-weighted graph.. undergoing an online sequence of edge deletions, together with a distance parameter D, the goal is to maintain a sparse D-neighborhood cover of G, with some additional technical requirements. Our main technical contribution is twofolds. First, we provide a black-box reduction from APSP in fully dynamic graphs to the RecDynNC problem. Second, we provide a new deterministic algorithm for the RecDynNC problem, that, for a given precision parameter.., achieves approximation factor (log log m)(2O(1/epsilon 2)), with total update time O(m(1+epsilon)), where m is the total number of edges ever present in... This improves the previous algorithm of [Chuzhoy, STOC '21], that achieved approximation factor (log m)(2O(1/epsilon)) with similar total update time. Combining these two results immediately leads to the deterministic algorithm for fully-dynamic APSP with the guarantees stated above.
引用
收藏
页码:1159 / 1172
页数:14
相关论文
共 42 条
[1]  
Abboud A, 2022, Arxiv, DOI arXiv:2204.10465
[2]  
Abraham Ittai, 2014, LIPICS LEIBN INT P I, V28
[3]  
AWERBUCH B, 1990, ANN IEEE SYMP FOUND, P503
[4]   Near-linear time construction of sparse neighborhood covers [J].
Awerbuch, B ;
Berger, B ;
Cowen, L ;
Peleg, D .
SIAM JOURNAL ON COMPUTING, 1998, 28 (01) :263-277
[5]   Improved decremental algorithms for maintaining transitive closure and all-pairs shortest paths [J].
Baswana, Surender ;
Hariharan, Ramesh ;
Sen, Sandeep .
JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 2007, 62 (02) :74-92
[6]   Fully Dynamic Randomized Algorithms for Graph Spanners [J].
Baswana, Surender ;
Khurana, Sumeet ;
Sarkar, Soumojit .
ACM TRANSACTIONS ON ALGORITHMS, 2012, 8 (04)
[7]  
Bergamaschi Thiago, 2020, arXiv
[8]  
Bernstein A., 2017, 44 INT C AUT LANG PR, P44, DOI 10.4230/LIPIcs.ICALP.2017.44
[9]  
Bernstein A, 2020, Arxiv, DOI arXiv:2004.08432
[10]   Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear Time [J].
Bernstein, Aaron ;
Gutenberg, Maximilian Probst ;
Saranurak, Thatchaphol .
2021 IEEE 62ND ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS 2021), 2022, :1000-1008