我们重温一个经典的图论问题,\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.
Faster Algorithms for Reverse Shortest Path in Unit-Disk Graphs and Related Geometric Optimization Problems: Improving the Shrink-and-Bifurcate Technique
Holiest Minimum-Cost Paths and Flows in Surface Graphs
设$G$是一个边权有向图,其中$n$的顶点嵌入在亏格为$g$的可定向曲面上.我们描述了一个简单的确定性字典序扰动方案,该方案保证了$G$中最小成本流和最短路径的唯一性。扰动需要$O(gn)$时间来计算。我们使用我们的扰动计划在一个黑盒的方式来获得一个确定性的$O(n \log \log n)$时间算法的最小切割\emph{directed}边加权平面图和一个确定性的$O(g^2 n \log n)$时间预处理计划的多源最短路径问题的计算最短路径预言的所有顶点躺在一个表面嵌入图的公共面。后者的结果产生更快的确定性近线性时间算法的各种问题,在常亏格表面嵌入图。最后,我们打开黑盒子,以推广最近的线性时间算法的多源最短路径在无向平面图工作在任意定向表面。我们的算法运行在$O(g^2 n \log g)$时间在此设置,它可以用来给改进的线性时间算法的几个问题的无权无向面嵌入图的常亏格,包括计算最小割,最短的拓扑非平凡圈,最小的同源基。