arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1907.07982cs.DS
收藏

用于大批量更新的敏感距离和可达性预言机

Sensitive Distance and Reachability Oracles for Large Batch Updates

Jan van den Brand, Thatchaphol Saranurak

摘要:

在敏感距离预言问题中,有三个阶段。我们首先预处理一个给定的有向图$G$与$n$节点和整数权重从$[-W,W]$。其次,给定一批$f$边插入和删除,我们更新数据结构。第三,给定查询节点对$(u,v)$,返回从$u$到$v$的距离。在称为敏感可达性预言机问题的更简单问题中,我们只询问是否存在从$u$到$v$的有向路径。我们的第一个结果是一个敏感的距离预言与$\tilde{O}(Wn^{ω+(3-ω)μ})$预处理时间,$\tilde{O}(Wn^{2-μ}f^{2}+Wnf^ω)$更新时间,和$\tilde{O}(Wn^{2-μ}f+Wnf^{2})$查询时间,其中参数$μ\in[0,1]$可以选择。数据结构需要$O(Wn^{2+μ} \log n)$位的内存。这是第一个可以处理$f\ge\log n$更新的算法。之前的结果(例如[Demetrescu et al. SICOMP'08; Bernstein and Karger SODA'08 and FOCS'09; Duan and Pettie SODA'09; Grandoni and Williams FOCS'12])最多可以处理2次更新。当$3\le f\le\log n$,唯一的非平凡算法是由[Weimann和Yuster FOCS'10]。当$W=\tilde{O}(1)$,我们的算法同时提高了他们的预处理时间,更新时间,和查询时间.特别地,当$f=ω(1)$时,它们的更新和查询时间是$Ω(n^{2-o(1)})$,而我们的更新和查询时间在$n$中是真正的次二次的,即,我们的速度快了一个多项式因子$n$。为了突出这项技术,我们是第一个图形算法,利用多项式矩阵的内核基础分解[Jeannerod和Villard J.Comp'05; Zhou,Labahn和Storjohann J.Comp'15]在符号计算社区开发。[...]

英文摘要:

In the sensitive distance oracle problem, there are three phases. We first preprocess a given directed graph $G$ with $n$ nodes and integer weights from $[-W,W]$. Second, given a single batch of $f$ edge insertions and deletions, we update the data structure. Third, given a query pair of nodes $(u,v)$, return the distance from $u$ to $v$. In the easier problem called sensitive reachability oracle problem, we only ask if there exists a directed path from $u$ to $v$. Our first result is a sensitive distance oracle with $\tilde{O}(Wn^{ω+(3-ω)μ})$ preprocessing time, $\tilde{O}(Wn^{2-μ}f^{2}+Wnf^ω)$ update time, and $\tilde{O}(Wn^{2-μ}f+Wnf^{2})$ query time where the parameter $μ\in[0,1]$ can be chosen. The data-structure requires $O(Wn^{2+μ} \log n)$ bits of memory. This is the first algorithm that can handle $f\ge\log n$ updates. Previous results (e.g. [Demetrescu et al. SICOMP'08; Bernstein and Karger SODA'08 and FOCS'09; Duan and Pettie SODA'09; Grandoni and Williams FOCS'12]) can handle at most 2 updates. When $3\le f\le\log n$, the only non-trivial algorithm was by [Weimann and Yuster FOCS'10]. When $W=\tilde{O}(1)$, our algorithm simultaneously improves their preprocessing time, update time, and query time. In particular, when $f=ω(1)$, their update and query time is $Ω(n^{2-o(1)})$, while our update and query time are truly subquadratic in $n$, i.e., ours is faster by a polynomial factor of $n$. To highlight the technique, ours is the first graph algorithm that exploits the kernel basis decomposition of polynomial matrices by [Jeannerod and Villard J.Comp'05; Zhou, Labahn and Storjohann J.Comp'15] developed in the symbolic computation community. [...]

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

↑