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

加权单位圆盘图中最短路的近优算法

Near-Optimal Algorithms for Shortest Paths in Weighted Unit-Disk Graphs

Haitao Wang, Jie Xue

摘要:

我们重温一个经典的图论问题,\textit{single-source shortest-path}(SSSP)的问题,在加权单位圆盘图。首先,我们提出了一个精确的(和确定性的)算法,解决了这个问题,在$O(n \log^2 n)$时间使用线性空间,其中$n$是图的顶点数。这显著改进了Cabello和Jejči [CGTA'15]使用$O(n^{1+δ})$时间和$O(n^{1+δ})$空间(对于任何小常数$δ>0$)的先前确定性算法以及Kaplan等人[SODA'17]使用$O(n \log^{12+o(1)} n)$预期时间和$O(n \log^3 n)$空间的先前随机化算法。更具体地说,我们表明,如果二维离线插入只(加性)加权最近邻问题与$k$操作(即,插入和查询)可以在$f(k)$时间内解决,那么加权单位盘图中的SSSP问题可以在$O(n \log n+f(n))$时间内解决.利用同样的框架和一些新的思想,我们也得到了一个$(1+\varepsilon)$ -近似算法的问题,使用$O(n \log n + n \log^2(1/\varepsilon))$时间和线性空间。这改进了Chan和Skrepetos [SoCG'18]使用$O((1/\varepsilon)^2 n \log n)$时间和$O((1/\varepsilon)^2 n)$空间的先前$(1+\varepsilon)$近似算法。更具体地说,我们表明,如果在大多数$k_2$操作是插入的$k_1$操作的二维离线只插入加权最近邻问题可以在$f(k_1,k_2)$时间内解决,那么在加权单位圆盘图中的$(1+\varepsilon)$近似SSSP问题可以在$O(n \log n+f(n,O(\varepsilon^{-2})))$时间内解决。由于问题的$Ω(n \log n)$时间下界(即使允许近似),我们的两个算法几乎都是最优的。

英文摘要:

We revisit a classical graph-theoretic problem, the \textit{single-source shortest-path} (SSSP) problem, in weighted unit-disk graphs. We first propose an exact (and deterministic) algorithm which solves the problem in $O(n \log^2 n)$ time using linear space, where $n$ is the number of the vertices of the graph. This significantly improves the previous deterministic algorithm by Cabello and Jejčič [CGTA'15] which uses $O(n^{1+δ})$ time and $O(n^{1+δ})$ space (for any small constant $δ>0$) and the previous randomized algorithm by Kaplan et al. [SODA'17] which uses $O(n \log^{12+o(1)} n)$ expected time and $O(n \log^3 n)$ space. More specifically, we show that if the 2D offline insertion-only (additively-)weighted nearest-neighbor problem with $k$ operations (i.e., insertions and queries) can be solved in $f(k)$ time, then the SSSP problem in weighted unit-disk graphs can be solved in $O(n \log n+f(n))$ time. Using the same framework with some new ideas, we also obtain a $(1+\varepsilon)$-approximate algorithm for the problem, using $O(n \log n + n \log^2(1/\varepsilon))$ time and linear space. This improves the previous $(1+\varepsilon)$-approximate algorithm by Chan and Skrepetos [SoCG'18] which uses $O((1/\varepsilon)^2 n \log n)$ time and $O((1/\varepsilon)^2 n)$ space. More specifically, we show that if the 2D offline insertion-only weighted nearest-neighbor problem with $k_1$ operations in which at most $k_2$ operations are insertions can be solved in $f(k_1,k_2)$ time, then the $(1+\varepsilon)$-approximate SSSP problem in weighted unit-disk graphs can be solved in $O(n \log n+f(n,O(\varepsilon^{-2})))$ time. Because of the $Ω(n \log n)$-time lower bound of the problem (even when approximation is allowed), both of our algorithms are almost optimal.

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

↑