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

06/05/2023
by   Xiao Mao, et al.
0

The All-Pairs Shortest Paths (APSP) problem is one of the fundamental problems in theoretical computer science. It asks to compute the distance matrix of a given n-vertex graph. We revisit the classical problem of maintaining the distance matrix under a fully-dynamic setting undergoing vertex insertions and deletions with a fast worst-case running time and efficient space usage. Although amortized algorithm with Õ(n ^ 2) update-time has been known for nearly two decades [Demetrescu and Italiano, STOC 2003], the current best algorithm for worst-case running time with efficient space usage runs is due to [Gutenberg and Wulff-Nilsen, SODA 2020], which improves the space usage of the previous algorithm due to [Abraham, Chechik, and Krinninger, SODA 2017] to Õ(n ^ 2) but fails to improve their running time of Õ(n ^ 2 + 2 / 3). It has been conjectured that no algorithm in O(n ^ 2.5 - ϵ) worst-case update time exists. For graphs without negative cycles, we meet this conjectured lower bound by introducing a Monte Carlo algorithm running in randomized Õ(n ^ 2.5) time while keeping the Õ(n ^ 2) space bound from the previous algorithm. Our improvement is made possible using a novel multi-layer approach that exploits the gaps between hops (number of vertices traversed) of paths.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/29/2020

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...
research
12/18/2017

The Power of Vertex Sparsifiers in Dynamic Graph Algorithms

We introduce a new algorithmic framework for designing dynamic graph alg...
research
04/18/2021

Revisiting the Complexity Analysis of Conflict-Based Search: New Computational Techniques and Improved Bounds

The problem of Multi-Agent Path Finding (MAPF) calls for finding a set o...
research
01/21/2018

Efficient algorithms for computing a minimal homology basis

Efficient computation of shortest cycles which form a homology basis und...
research
11/09/2022

Fully-dynamic-to-incremental reductions with known deletion order (e.g. sliding window)

Dynamic algorithms come in three main flavors: 𝑖𝑛𝑐𝑟𝑒𝑚𝑒𝑛𝑡𝑎𝑙 (insertions-o...
research
10/25/2018

Fréchet Distance Under Translation: Conditional Hardness and an Algorithm via Offline Dynamic Grid Reachability

The discrete Fréchet distance is a popular measure for comparing polygon...
research
04/27/2020

The Streaming k-Mismatch Problem: Tradeoffs between Space and Total Time

We revisit the k-mismatch problem in the streaming model on a pattern of...

Please sign up or login with your details

Forgot password? Click here to reset