English

Dynamic Approximate Shortest Paths and Beyond: Subquadratic and Worst-Case Update Time

Data Structures and Algorithms 2019-10-18 v2

Abstract

Consider the following distance query for an nn-node graph GG undergoing edge insertions and deletions: given two sets of nodes II and JJ, return the distances between every pair of nodes in I×JI\times J. This query is rather general and captures several versions of the dynamic shortest paths problem. In this paper, we develop an efficient (1+ϵ)(1+\epsilon)-approximation algorithm for this query using fast matrix multiplication. Our algorithm leads to answers for some open problems for Single-Source and All-Pairs Shortest Paths (SSSP and APSP), as well as for Diameter, Radius, and Eccentricities. Below are some highlights. Note that all our algorithms guarantee worst-case update time and are randomized (Monte Carlo), but do not need the oblivious adversary assumption. Subquadratic update time for SSSP, Diameter, Centralities, ect.: When we want to maintain distances from a single node explicitly (without queries), a fundamental question is to beat trivially calling Dijkstra's static algorithm after each update, taking Θ(n2)\Theta(n^2) update time on dense graphs. It was known to be improbable for exact algorithms and for combinatorial any-approximation algorithms to polynomially beat the Ω(n2)\Omega(n^2) bound (under some conjectures) [Roditty, Zwick, ESA'04; Abboud, V. Williams, FOCS'14]. Our algorithm with I={s}I=\{s\} and J=V(G)J=V(G) implies a (1+ϵ)(1+\epsilon)-approximation algorithm for this, guaranteeing O~(n1.823/ϵ2)\tilde O(n^{1.823}/\epsilon^2) worst-case update time for directed graphs with positive real weights in [1,W][1, W]. With ideas from [Roditty, V. Williams, STOC'13], we also obtain the first subquadratic worst-case update time for (5/3+ϵ)(5/3+\epsilon)-approximating the eccentricities and (1.5+ϵ)(1.5+\epsilon)-approximating the diameter and radius for unweighted graphs (with small additive errors). [...]

Keywords

Cite

@article{arxiv.1909.10850,
  title  = {Dynamic Approximate Shortest Paths and Beyond: Subquadratic and Worst-Case Update Time},
  author = {Jan van den Brand and Danupon Nanongkai},
  journal= {arXiv preprint arXiv:1909.10850},
  year   = {2019}
}

Comments

To appear in FOCS 2019

R2 v1 2026-06-23T11:24:11.052Z