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

动态近似全对最短路:突破O(mn)障碍和去随机化

Dynamic Approximate All-Pairs Shortest Paths: Breaking the O(mn) Barrier and Derandomization

Monika Henzinger, Sebastian Krinninger, Danupon Nanongkai

摘要:

研究了无向$n$ -结点$m$ -边图中边删除下的全对最短路问题的动态$(1+ε)$ -近似算法。该问题的最快算法是Roditty和Zwick [FOCS 2004]的随机算法,总更新时间为$\tilde O(mn/ε)$,查询时间为常数。最快的确定性算法来自Even和Shiloach [JACM 1981]的一篇1981年的论文;它的总更新时间为$O(mn^2)$,查询时间为常数。(1)提出了一种总更新时间为$\tilde O(n^{5/2}/ε)$、查询时间为常数的算法,该算法除了$1+ε$乘法误差外,还具有$2$的加法误差。这超过了之前的$\tilde O(mn/ε)$时间,当时$m=Ω(n^{3/2})$。注意,加性误差是不可避免的,因为即使在静态情况下,具有$1+ε$乘法误差的$O(n^{3-δ})$ -时间(所谓的真正次立方)组合算法的加性误差也不能小于$2-ε$,除非我们在布尔矩阵乘法[Dor et al. FOCS 1996]和许多其他长期存在的问题[Vassilevska Williams and Williams FOCS 2010]方面取得重大突破。该算法也可以转化为具有相同时间保证的$(2+ε)$ -近似算法(无附加误差),在近似和时间保证方面改进了最近的具有Bernstein和Roditty [SODA 2011]的$\tilde O(n^{5/2+O(\sqrt{\log{(1/ε)}/\log n})})$运行时间的$(3+ε)$ -近似算法。(2)我们提出了一个确定性的算法,总更新时间为$\tilde O(mn/ε)$和查询时间为$O(\log\log n)$。该算法具有$1+ε$的乘性误差,并给出了自1981年以来的第一个改进的确定性算法。它还回答了伯恩斯坦提出的一个悬而未决的问题[STOC 2013]。

英文摘要:

We study dynamic $(1+ε)$-approximation algorithms for the all-pairs shortest paths problem in unweighted undirected $n$-node $m$-edge graphs under edge deletions. The fastest algorithm for this problem is a randomized algorithm with a total update time of $\tilde O(mn/ε)$ and constant query time by Roditty and Zwick [FOCS 2004]. The fastest deterministic algorithm is from a 1981 paper by Even and Shiloach [JACM 1981]; it has a total update time of $O(mn^2)$ and constant query time. We improve these results as follows: (1) We present an algorithm with a total update time of $\tilde O(n^{5/2}/ε)$ and constant query time that has an additive error of $2$ in addition to the $1+ε$ multiplicative error. This beats the previous $\tilde O(mn/ε)$ time when $m=Ω(n^{3/2})$. Note that the additive error is unavoidable since, even in the static case, an $O(n^{3-δ})$-time (a so-called truly subcubic) combinatorial algorithm with $1+ε$ multiplicative error cannot have an additive error less than $2-ε$, unless we make a major breakthrough for Boolean matrix multiplication [Dor et al. FOCS 1996] and many other long-standing problems [Vassilevska Williams and Williams FOCS 2010]. The algorithm can also be turned into a $(2+ε)$-approximation algorithm (without an additive error) with the same time guarantees, improving the recent $(3+ε)$-approximation algorithm with $\tilde O(n^{5/2+O(\sqrt{\log{(1/ε)}/\log n})})$ running time of Bernstein and Roditty [SODA 2011] in terms of both approximation and time guarantees. (2) We present a deterministic algorithm with a total update time of $\tilde O(mn/ε)$ and a query time of $O(\log\log n)$. The algorithm has a multiplicative error of $1+ε$ and gives the first improved deterministic algorithm since 1981. It also answers an open question raised by Bernstein [STOC 2013].

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

↑