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 条
  • [31] Reliable Hubs for Partially-Dynamic All-Pairs Shortest Paths in Directed Graphs
    Karczmarz, Adam
    Lacki, Jakub
    27TH ANNUAL EUROPEAN SYMPOSIUM ON ALGORITHMS (ESA 2019), 2019, 144
  • [32] Fully dynamic all pairs shortest paths with real edge weights
    Demetrescu, C
    Italiano, GF
    42ND ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 2001, : 260 - 267
  • [33] Dynamic Approximate All-Pairs Shortest Paths: Breaking the O(mn) Barrier and Derandomization
    Henzinger, Monika
    Krinninger, Sebastian
    Nanongkai, Danupon
    2013 IEEE 54TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS), 2013, : 538 - 547
  • [34] DYNAMIC APPROXIMATE ALL-PAIRS SHORTEST PATHS: BREAKING THE O(mn) BARRIER AND DERANDOMIZATION
    Henzinger, Monika
    Krinninger, Sebastian
    Nanongkai, Danupon
    SIAM JOURNAL ON COMPUTING, 2016, 45 (03) : 947 - 1006
  • [35] All-Pairs Shortest Paths in O(n2) Time with High Probability
    Peres, Yuval
    Sotnikov, Dmitry
    Sudakov, Benny
    Zwick, Uri
    JOURNAL OF THE ACM, 2013, 60 (04)
  • [36] Distributed Exact Weighted All-Pairs Shortest Paths in Near-Linear Time
    Bernstein, Aaron
    Nanongkai, Danupon
    PROCEEDINGS OF THE 51ST ANNUAL ACM SIGACT SYMPOSIUM ON THEORY OF COMPUTING (STOC '19), 2019, : 334 - 342
  • [37] All-Pairs Shortest Paths in O(n2) time with high probability
    Peres, Yuval
    Sotnikov, Dmitry
    Sudakov, Benny
    Zwick, Uri
    2010 IEEE 51ST ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, 2010, : 663 - 672
  • [38] A Near-Optimal Offline Algorithm for Dynamic All-Pairs Shortest Paths in Planar Digraphs
    Das, Debarati
    Gutenberg, Maximilian Probst
    Wulff-Nilsen, Christian
    PROCEEDINGS OF THE 2022 ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2022, : 3482 - 3495
  • [39] All-pairs shortest paths with real weights in O(n3/logn) time
    Chan, Timothy M.
    ALGORITHMICA, 2008, 50 (02) : 236 - 243
  • [40] DISTRIBUTED EXACT WEIGHTED ALL-PAIRS SHORTEST PATHS IN RANDOMIZED NEAR-LINEAR TIME
    Bernstein, Aaron
    Nanongkai, Danupon
    SIAM JOURNAL ON COMPUTING, 2023, 52 (02) : 112 - 127