English

Fully dynamic all-pairs shortest paths with worst-case update-time revisited

Data Structures and Algorithms 2018-03-02 v2

Abstract

We revisit the classic problem of dynamically maintaining shortest paths between all pairs of nodes of a directed weighted graph. The allowed updates are insertions and deletions of nodes and their incident edges. We give worst-case guarantees on the time needed to process a single update (in contrast to related results, the update time is not amortized over a sequence of updates). Our main result is a simple randomized algorithm that for any parameter c>1c>1 has a worst-case update time of O(cn2+2/3log4/3n)O(cn^{2+2/3} \log^{4/3}{n}) and answers distance queries correctly with probability 11/nc1-1/n^c, against an adaptive online adversary if the graph contains no negative cycle. The best deterministic algorithm is by Thorup [STOC 2005] with a worst-case update time of O~(n2+3/4)\tilde O(n^{2+3/4}) and assumes non-negative weights. This is the first improvement for this problem for more than a decade. Conceptually, our algorithm shows that randomization along with a more direct approach can provide better bounds.

Keywords

Cite

@article{arxiv.1607.05132,
  title  = {Fully dynamic all-pairs shortest paths with worst-case update-time revisited},
  author = {Ittai Abraham and Shiri Chechik and Sebastian Krinninger},
  journal= {arXiv preprint arXiv:1607.05132},
  year   = {2018}
}

Comments

To be presented at the Symposium on Discrete Algorithms (SODA) 2017

R2 v1 2026-06-22T14:57:20.872Z