通过稀疏化自举动态全源最短路径问题
Bootstrapping Dynamic APSP via Sparsification
AI总结:
提出一种基于稀疏化的动态近似APSP算法,通过选择枢轴并递归维护距离,实现总时间$|E|^{1+o(1)}$处理$|E|$次更新,查询时间$\tilde{O}(1)$,无需扩展图。
摘要:
我们针对动态近似全源最短路径(APSP)问题给出了一种简单算法。给定一个边长为多项式有界的图 $G = (V, E, l)$,我们的数据结构以总时间 $|E|^{1 + o(1)}$ 处理 $|E|$ 次边的插入和删除,并在每次查询时以 $\tilde{O}(1)$ 的时间提供 $|E|^{o(1)}$-近似距离的查询访问。我们构建了一个模拟 Thorup-Zwick 距离预言机 [TZ'05] 的数据结构,但它是动态且确定性的。我们的算法选择少量枢轴顶点。然后,对于每个其他顶点,它将距离计算简化为维护到该顶点周围小邻域以及到最近枢轴的距离。我们通过将枢轴之间的距离表示在更小的图中并递归来高效维护这些距离。我们通过以下方式构建这些更小的图:(a)使用 Kyng-Meierhans-Probst Gutenberg [KMPG'24] 的动态保持距离的核心图以黑盒方式减少顶点数量,以及(b)使用类似 Chen-Kyng-Liu-Meierhans-Probst Gutenberg [CKL+'24] 的动态稀疏器来减少边数。我们的动态稀疏器内部使用一个 APSP 数据结构。在第一步中选择足够大的尺寸缩减因子,使我们能够同时自举我们的稀疏器和动态 APSP 数据结构。值得注意的是,我们的方法不需要扩展图,而扩展图在去随机化中通常是普遍使用的工具。
英文摘要:
We give a simple algorithm for the dynamic approximate All-Pairs Shortest Paths (APSP) problem. Given a graph $G = (V, E, l)$ with polynomially bounded edge lengths, our data structure processes $|E|$ edge insertions and deletions in total time $|E|^{1 + o(1)}$ and provides query access to $|E|^{o(1)}$-approximate distances in time $\tilde{O}(1)$ per query. We produce a data structure that mimics Thorup-Zwick distance oracles [TZ'05], but is dynamic and deterministic. Our algorithm selects a small number of pivot vertices. Then, for every other vertex, it reduces distance computation to maintaining distances to a small neighborhood around that vertex and to the nearest pivot. We maintain distances between pivots efficiently by representing them in a smaller graph and recursing. We construct these smaller graphs by (a) reducing vertex count using the dynamic distance-preserving core graphs of Kyng-Meierhans-Probst Gutenberg [KMPG'24] in a black-box manner and (b) reducing edge-count using a dynamic spanner akin to Chen-Kyng-Liu-Meierhans-Probst Gutenberg [CKL+'24]. Our dynamic spanner internally uses an APSP data structure. Choosing a large enough size reduction factor in the first step allows us to simultaneously bootstrap our spanner and a dynamic APSP data structure. Notably, our approach does not need expander graphs, an otherwise ubiquitous tool in derandomization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。