Given a set P of n points in the plane, the unit-disk graph G_{r}(P) with respect to a parameter r is an undirected graph whose vertex set is P such that an edge connects two points p, q \in P if the Euclidean distance between p and q is at most r (the weight of the edge is 1 in the unweighted case and is the distance between p and q in the weighted case). Given a value \lambda>0 and two points s and t of P, we consider the following reverse shortest path problem: computing the smallest r such that the shortest path length between s and t in G_r(P) is at most \lambda. In this paper, we present an algorithm of O(\lfloor \lambda \rfloor \cdot n \log n) time and another algorithm of O(n^{5/4} \log^{7/4} n) time for the unweighted case, as well as an O(n^{5/4} \log^{5/2} n) time algorithm for the weighted case. We also consider the L_1 version of the problem where the distance of two points is measured by the L_1 metric; we solve the problem in O(n \log^3 n) time for both the unweighted and weighted cases.
翻译:在平面上, 单位- disk polg G ⁇ r} (P) 相对于参数 r 设定为 P, 单位- disk pgrog G ⁇ r} (P) 的值为 P, 单位- disk pgrog G ⁇ r} (P) 相对于参数 r 是一个非方向的图形, 其顶点设置为 P, 这样, 边缘连接两个点 p, q\ in P 。 如果 euclidean p和 q 之间的距离在最大 r( 未加权情况下, 边缘的重量为 1, 是 p和 q 之间的距离 。 鉴于值值值为\ 5/4 和 2, rulegal r 3 之间的最短路径长度为 P 。 在本文中, 我们给出了 O( n) 5\\ log \ 7/4 和 talglex 的算法 。