Fully-Dynamic All-Pairs Shortest Paths: Improved Worst-Case Time and Space Bounds

被引:0
|
作者
Gutenberg, Maximilian Probst [1 ]
Wulff-Nilseny, Christian [2 ]
机构
[1] Univ Copenhagen, BARC, Univ Pk 5, DK-2100 Copenhagen, Denmark
[2] Univ Copenhagen, Dept Comp Sci, Copenhagen, Denmark
来源
PROCEEDINGS OF THE THIRTY-FIRST ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS (SODA'20) | 2020年
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Given a directed weighted graph G = (V, E) undergoing vertex insertions and deletions, the All-Pairs Shortest Paths (APSP) problem asks to maintain a data structure that processes updates efficiently and returns after each update the distance matrix to the current version of G. In two breakthrough results, Italiano and Demetrescu [STOC '03] presented an algorithm that requires (O) over tilde (n(2)) amortized update time, and Thorup showed in [STOC '05] that worst-case update time (O) over tilde (n(2+3/4)) can be achieved. In this article, we make substantial progress on the problem. We present the following new results: We present the first deterministic data structure that breaks the (O) over tilde (n(2+3/4)) worst-case update time bound by Thorup which has been standing for almost 15 years. We improve the worst-case update time to (O) over tilde (n(2+5/7)) = (O) over tilde (n(2.71..)) and to (O) over tilde (n(2+3/5)) = (O) over tilde (n(2.6)) for unweighted graphs. We present a simple deterministic algorithm with (O) over tilde (n(2+3/4)) worst-case update time ((O) over tilde (n(2+2/3)) for unweighted graphs), and a simple Las-Vegas algorithm with worst-case update time (O) over tilde (n(2+2/3)) ((O) over tilde (n(2+1/2)) for unweighted graphs) that works against a non-oblivious adversary. Both data structures require space (O) over tilde (n(2)). These are the first exact dynamic algorithms with trulysubcubic update time and space usage. This makes significant progress on an open question posed in multiple articles [COCOON'01, STOC '03, ICALP '04, Encyclopedia of Algorithms '08] and is critical to algorithms in practice [TALG '06] where large space usage is prohibitive. Moreover, they match the worst-case update time of the best previous algorithms and the second algorithm improves upon a Monte-Carlo algorithm in a weaker adversary model with the same running time [SODA '17].
引用
收藏
页码:2562 / 2574
页数:13
相关论文
共 47 条
  • [21] Improved decremental algorithms for maintaining transitive closure and all-pairs shortest paths
    Baswana, Surender
    Hariharan, Ramesh
    Sen, Sandeep
    JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 2007, 62 (02): : 74 - 92
  • [22] A Range Space with Constant VC Dimension for All-pairs Shortest Paths in Graphs
    Lima A.M.
    da Silva M.V.G.
    Vignatti A.L.
    Journal of Graph Algorithms and Applications, 2023, 27 (07): : 603 - 619
  • [23] An efficient dynamic algorithm for maintaining all-pairs shortest paths in stochastic networks
    Misra, S
    Oommen, BJ
    IEEE TRANSACTIONS ON COMPUTERS, 2006, 55 (06) : 686 - 702
  • [24] Decremental All-Pairs Shortest Paths in Deterministic Near-Linear Time
    Chuzhoy, Julia
    STOC '21: PROCEEDINGS OF THE 53RD ANNUAL ACM SIGACT SYMPOSIUM ON THEORY OF COMPUTING, 2021, : 626 - 639
  • [25] All-Pairs Shortest Paths for Unweighted Undirected Graphs in o(mn) Time
    Chan, Timothy M.
    ACM TRANSACTIONS ON ALGORITHMS, 2012, 8 (04)
  • [26] An almost 2-approximation for all-pairs of shortest paths in subquadratic time
    Akav, Maor
    Roditty, Liam
    PROCEEDINGS OF THE 2020 ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2020, : 1 - 11
  • [27] All-Pairs Shortest Paths for Unweighted Undirected Graphs in o(mn) Time
    Chan, Timothy M.
    PROCEEDINGS OF THE SEVENTHEENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2006, : 514 - 523
  • [28] An almost 2-approximation for all-pairs of shortest paths in subquadratic time
    Akav, Maor
    Roditty, Liam
    PROCEEDINGS OF THE THIRTY-FIRST ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS (SODA'20), 2020, : 1 - 11
  • [29] Differentially Private All-Pairs Shortest Path Distances: Improved Algorithms and Lower Bounds
    Chen, Justin Y.
    Ghazi, Badih
    Kumar, Ravi
    Manurangsi, Pasin
    Narayanan, Shyam
    Nelson, Jelani
    Xu, Yinzhan
    PROCEEDINGS OF THE 2023 ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2023, : 5040 - 5067
  • [30] Fully dynamic all pairs shortest paths with real edge weights
    Demetrescu, Camil
    Italiano, Giuseppe F.
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2006, 72 (05) : 813 - 837