Lune

SODA2020Top-tier venue

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

Maximilian Probst Gutenberg, Christian Wulff-Nilsen

Abstract

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 Õ(n 2 ) amortized update time, and Thorup showed in [STOC '05] that worst-case update time Õ(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 Õ(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 Õ(n 2+5/7 ) = Õ(n 2.71.. ) and to Õ(n 2+3/5 ) = Õ(n 2.6 ) for unweighted graphs.

• We present a simple deterministic algorithm with Õ(n 2+3/4 ) worst-case update time ( Õ(n 2+2/3 ) for unweighted graphs), and a simple Las-Vegas algorithm with worst-case update time Õ(n 2+2/3 ) ( Õ(n 2+1/2 ) for unweighted graphs) that works against a nonoblivious adversary. Both data structures require space Õ(n 2 ). These are the first exact dynamic algorithms with truly-subcubic 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].

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

21 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Deterministic Almost-Linear Time Algorithm for Minimum-Cost Flow cites Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear Time
  • New Techniques and Fine-Grained Hardness for Dynamic Near-Additive Spanners cites Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and Simpler
  • New algorithms and hardness for incremental single-source shortest paths in directed graphs cites Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and Simpler
  • Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear Time cites Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and Simpler
  • Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear Time cites New algorithms and hardness for incremental single-source shortest paths in directed graphs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers21

  1. A Deterministic Almost-Linear Time Algorithm for Minimum-Cost FlowJan van den Brand, Li Chen, Richard Peng, Rasmus Kyng et al.FOCS 2023 · 28 citations
  2. Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear TimeAaron Bernstein, Maximilian Probst Gutenberg, Thatchaphol SaranurakFOCS 2021 · 27 citations
  3. New algorithms and hardness for incremental single-source shortest paths in directed graphsMaximilian Probst Gutenberg, Virginia Vassilevska Williams, Nicole WeinSTOC 2020 · 21 citations
  4. Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and SimplerMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 20 citations
  5. New Techniques and Fine-Grained Hardness for Dynamic Near-Additive SpannersThiago Bergamaschi, Monika Henzinger, Maximilian Probst Gutenberg, Virginia Vassilevska Williams et al.SODA 2021 · 19 citations

Builds on1

  1. Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and SimplerMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 20 citations

Related papers

  1. Faster Deterministic Worst-Case Fully Dynamic All-Pairs Shortest Paths via Decremental Hop-Restricted Shortest PathsShiri Chechik, Tianyi ZhangSODA 2023 · 5 citations
  2. Fully Dynamic All-Pairs Shortest Paths: Likely Optimal Worst-Case Update TimeXiao MaoSTOC 2024 · 1 citation
  3. Deterministic Algorithms for Decremental Shortest Paths via Layered Core DecompositionJulia Chuzhoy, Thatchaphol SaranurakSODA 2021 · 24 citations
  4. A Near-Optimal Offline Algorithm for Dynamic All-Pairs Shortest Paths in Planar DigraphsDebarati Das, Maximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2022 · 2 citations
  5. Decremental SSSP in Weighted Digraphs: Faster and Against an Adaptive AdversaryMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 19 citations
Dusk over the sea between two cliffs drawn in fine vertical lines