Papers
Topics
Authors
Recent
Search
2000 character limit reached

A Near-Optimal Offline Algorithm for Dynamic All-Pairs Shortest Paths in Planar Digraphs

Published 1 Jun 2026 in cs.DS | (2606.01809v1)

Abstract: In the planar, dynamic All-Pairs Shortest Paths (APSP) problem, a planar, weighted digraph GG undergoes a sequence of edge weight updates and the goal is to maintain a data structure on GG, that can quickly answer distance queries between any two vertices x,y∈V(G)x,y \in V(G). The currently best algorithms for this problem require O~(n<sup>2/3)\tilde{O}(n<sup>{2/3}) worst-case update and query time, while conditional lower bounds show that either update or query time n<sup>0.5−δn<sup>{0.5-δ} is needed for any constant $δ&gt; 0$. In this article, we present the first algorithm with near-optimal O~(n)\tilde{O}(\sqrt{n}) worst-case update and query time for the offline setting, where the update sequence is given initially. This result is obtained by giving the first offline dynamic algorithm for maintaining dense distance graphs (DDGs) faster than recomputing from scratch after each update. Further, we also present an \emph{online} algorithm for the incremental APSP problem with O~(n)\tilde{O}(\sqrt{n}) worst-case update/ query time. This allows us to reduce the online dynamic APSP problem to the online decremental APSP problem, which constitutes partial progress even for the online version of this notorious problem.

Citations (2)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.