arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1105.3770math.COcs.DSmath.PR
收藏

$O(n^2)$时间内高概率全对最短路

All-Pairs Shortest Paths in $O(n^2)$ time with high probability

Yuval Peres, Dimitry Sotnikov, Benny Sudakov, Uri Zwick

摘要:

我们提出了一个全对最短路径算法,其运行时间的完全有向图上的$n$顶点,其边的权重是独立和均匀随机选择的$[0,1]$是$O(n^2)$,在期望和高概率。这解决了一个长期存在的问题。该算法是Demetrescu和Italiano的动态全对最短路径算法的变体。该分析依赖于这样的随机加权图中的\emph{locally shortest paths}的数目是$O(n^2)$的证明,在期望中并且具有高概率。我们还提出了一个动态版本的算法,重新计算所有的最短路径后,随机边缘更新在$O(\log^{2}n)$预期的时间。

英文摘要:

We present an all-pairs shortest path algorithm whose running time on a complete directed graph on $n$ vertices whose edge weights are chosen independently and uniformly at random from $[0,1]$ is $O(n^2)$, in expectation and with high probability. This resolves a long standing open problem. The algorithm is a variant of the dynamic all-pairs shortest paths algorithm of Demetrescu and Italiano. The analysis relies on a proof that the number of \emph{locally shortest paths} in such randomly weighted graphs is $O(n^2)$, in expectation and with high probability. We also present a dynamic version of the algorithm that recomputes all shortest paths after a random edge update in $O(\log^{2}n)$ expected time.

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

↑