English

A Dynamic Shortest Paths Toolbox: Low-Congestion Vertex Sparsifiers and their Applications

Data Structures and Algorithms 2023-11-14 v1

Abstract

We present a general toolbox, based on new vertex sparsifiers, for designing data structures to maintain shortest paths in dynamic graphs. In an mm-edge graph undergoing edge insertions and deletions, our data structures give the first algorithms for maintaining (a) mo(1)m^{o(1)}-approximate all-pairs shortest paths (APSP) with \emph{worst-case} update time mo(1)m^{o(1)} and query time O~(1)\tilde{O}(1), and (b) a tree TT that has diameter no larger than a subpolynomial factor times the diameter of the underlying graph, where each update is handled in amortized subpolynomial time. In graphs undergoing only edge deletions, we develop a simpler and more efficient data structure to maintain a (1+ϵ)(1+\epsilon)-approximate single-source shortest paths (SSSP) tree TT in a graph undergoing edge deletions in amortized time mo(1)m^{o(1)} per update. Our data structures are deterministic. The trees we can maintain are not subgraphs of GG, but embed with small edge congestion into GG. This is in stark contrast to previous approaches and is useful for algorithms that internally use trees to route flow. To illustrate the power of our new toolbox, we show that our SSSP data structure gives simple deterministic implementations of flow-routing MWU methods in several contexts, where previously only randomized methods had been known. To obtain our toolbox, we give the first algorithm that, given a graph GG undergoing edge insertions and deletions and a dynamic terminal set AA, maintains a vertex sparsifier HH that approximately preserves distances between terminals in AA, consists of at most Amo(1)|A|m^{o(1)} vertices and edges, and can be updated in worst-case time mo(1)m^{o(1)}. Crucially, our vertex sparsifier construction allows us to maintain a low edge-congestion embedding of HH into GG, which is needed for our applications.

Keywords

Cite

@article{arxiv.2311.06402,
  title  = {A Dynamic Shortest Paths Toolbox: Low-Congestion Vertex Sparsifiers and their Applications},
  author = {Rasmus Kyng and Simon Meierhans and Maximilian Probst Gutenberg},
  journal= {arXiv preprint arXiv:2311.06402},
  year   = {2023}
}