首页> 外文期刊>LIPIcs : Leibniz International Proceedings in Informatics >Near-Optimal Algorithms for Shortest Paths in Weighted Unit-Disk Graphs
【24h】

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

机译:加权单位圆图中最短路径的近最佳算法

获取原文
           

摘要

We revisit a classical graph-theoretic problem, the 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 Jejcic [CGTA'15] which uses O(n^{1+delta}) time and O(n^{1+delta}) space (for any small constant delta0) 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+epsilon)-approximate algorithm for the problem, using O(n log n + n log^2(1/epsilon)) time and linear space. This improves the previous (1+epsilon)-approximate algorithm by Chan and Skrepetos [SoCG'18] which uses O((1/epsilon)^2 n log n) time and O((1/epsilon)^2 n) space. Because of the Omega(n log n)-time lower bound of the problem (even when approximation is allowed), both of our algorithms are almost optimal.
机译:我们在加权单位磁盘图中重新讨论经典的图论问题,即单源最短路径(SSSP)问题。我们首先提出一种精确(确定性)的算法,该算法使用线性空间在O(n log ^ 2 n)时间内解决问题,其中n是图的顶点数。这大大改善了Cabello和Jejcic [CGTA'15]先前的确定性算法,该算法使用O(n ^ {1 + delta})时间和O(n ^ {1 + delta})空间(对于任何小的常数delta> 0)以及Kaplan等人先前的随机算法。 [SODA'17]使用O(n log ^ {12 + o(1)} n)预期时间和O(n log ^ 3 n)空间。更具体地说,我们表明,如果可以用f(k)的时间解决具有k个操作(即插入和查询)的2D离线仅插入(累加)加权最近邻问题,则SSSP问题可以通过加权单位-磁盘图可以在O(n log n + f(n))时间内求解。使用具有某些新思想的相同框架,我们还使用O(n log n + n log ^ 2(1 / epsilon))时间和线性空间获得了问题的(1 + epsilon)近似算法。这改进了Chan和Skrepetos [SoCG'18]使用O((1 / epsilon)^ 2 n log n)时间和O((1 / epsilon)^ 2 n)空间的先前(1 + epsilon)近似算法。 。由于问题的Omega(n log n)-时间下界(即使在允许近似的情况下),我们的两种算法几乎都是最优的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号