arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.01809cs.DS
收藏

平面有向图中动态全源最短路径的近最优离线算法

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

University of Copenhagen(哥本哈根大学);ETH Zurich(苏黎世联邦理工学院)

Debarati Das, Maximilian Probst Gutenberg, Christian Wulff-Nilsen

AI总结:

针对平面有向图中的动态全源最短路径问题,提出首个近最优的离线算法,实现最坏情况下的更新和查询时间均为O~(√n)。

摘要:

在平面动态全源最短路径(APSP)问题中,一个平面加权有向图$G$经历一系列边权重更新,目标是维护$G$上的一个数据结构,能够快速回答任意两个顶点$x,y \in V(G)$之间的距离查询。目前该问题的最佳算法需要$\tilde{O}(n^{2/3})$的最坏情况更新和查询时间,而条件下界表明,对于任何常数$\delta > 0$,需要$n^{0.5-\delta}$的更新或查询时间。在本文中,我们提出了第一个具有近最优$\tilde{O}(\sqrt{n})$最坏情况更新和查询时间的离线算法,其中更新序列是预先给定的。这一结果是通过给出第一个离线动态算法来维护密集距离图(DDGs),其速度比每次更新后从头重新计算更快。此外,我们还提出了一种用于增量APSP问题的在线算法,具有$\tilde{O}(\sqrt{n})$的最坏情况更新/查询时间。这使我们能够将在线动态APSP问题简化为在线递减APSP问题,即使对于这个臭名昭著问题的在线版本,这也构成了部分进展。

英文摘要:

In the planar, dynamic All-Pairs Shortest Paths (APSP) problem, a planar, weighted digraph $G$ undergoes a sequence of edge weight updates and the goal is to maintain a data structure on $G$, that can quickly answer distance queries between any two vertices $x,y \in V(G)$. The currently best algorithms for this problem require $\tilde{O}(n^{2/3})$ worst-case update and query time, while conditional lower bounds show that either update or query time $n^{0.5-δ}$ is needed for any constant $δ> 0$. In this article, we present the first algorithm with near-optimal $\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 $\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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑