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

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: (1) 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. (2) 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 non-oblivious 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].

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/05/2023

Fully-Dynamic All-Pairs Shortest Paths: Likely Optimal Worst-Case Update Time

The All-Pairs Shortest Paths (APSP) problem is one of the fundamental pr...
research
06/22/2021

Fully Dynamic Algorithms for Minimum Weight Cycle and Related Problems

We consider the directed minimum weight cycle problem in the fully dynam...
research
05/31/2020

Efficient fully dynamic elimination forests with applications to detecting long paths and cycles

We present a data structure that in a dynamic graph of treedepth at most...
research
09/12/2011

Modern hierarchical, agglomerative clustering algorithms

This paper presents algorithms for hierarchical, agglomerative clusterin...
research
01/29/2020

Decremental SSSP in Weighted Digraphs: Faster and Against an Adaptive Adversary

Given a dynamic digraph G = (V,E) undergoing edge deletions and given s∈...
research
10/04/2020

Fast DecreaseKey Heaps with worst case variants

In the paper "Fast Fibonacci heaps with worst case extensions" we have d...
research
03/31/2022

Subquadratic Dynamic Path Reporting in Directed Graphs Against an Adaptive Adversary

We study reachability and shortest paths problems in dynamic directed gr...

Please sign up or login with your details

Forgot password? Click here to reset