Computational Geometry ( IF 0.6 ) Pub Date : 2023-09-11 , DOI: 10.1016/j.comgeo.2023.102053 Pankaj K. Agarwal , Matthew J. Katz , Micha Sharir
Let S be a set of n geometric objects of constant complexity (e.g., points, line segments, disks, ellipses) in , and let be a distance function on S. For a parameter , we define the proximity graph where . Given S, , and an integer , the reverse-shortest-path (RSP) problem asks for computing the smallest value such that contains a path from s to t of length at most k.
In this paper we present a general randomized technique that solves the RSP problem efficiently for a large family of geometric objects and distance functions. Using standard, and sometimes more involved, semi-algebraic range-searching techniques, we first give an efficient algorithm for the decision problem, namely, given a value , determine whether contains a path from s to t of length at most k. Next, we adapt our decision algorithm and combine it with a random-sampling method to compute , by efficiently performing a binary search over an implicit set of candidate ‘critical’ values that contains .
We illustrate the versatility of our general technique by applying it to a variety of geometric proximity graphs. For example, we obtain (i) an expected-time randomized algorithm (where hides factors) for the case where S is a set of (possibly intersecting) line segments in and (where is the Euclidean distance), and (ii) an expected-time randomized algorithm for the case where S is a set of m points lying on an x-monotone polygonal chain T with n vertices, and , for , is the smallest value h such that the points and are visible to each other, i.e., all points on the segment lie above or on the polygonal chain T.
中文翻译:
几何邻近图中的反向最短路径
设S是一组n 个具有恒定复杂度的几何对象(例如,点、线段、圆盘、椭圆), 然后让是S上的距离函数。对于一个参数,我们定义邻近图 在哪里。给定S,,和一个整数,反向最短路径(RSP)问题要求计算最小值这样包含从s到t 的路径,长度至多为k。
在本文中,我们提出了一种通用的随机技术,可以有效地解决大量几何对象和距离函数的 RSP 问题。使用标准的、有时更复杂的半代数范围搜索技术,我们首先给出决策问题的有效算法,即给定一个值,判断是否包含从s到t 的路径,长度至多为k。接下来,我们调整决策算法并将其与随机采样方法相结合来计算,通过对隐式集合有效地执行二分搜索候选“关键”值包含。
我们通过将其应用于各种几何邻近图来说明我们的通用技术的多功能性。例如,我们获得 (i)预期时间随机算法(其中隐藏因子)对于S是一组(可能相交)线段的情况和(在哪里是欧几里德距离),并且 (ii)预期时间随机算法,适用于S是位于具有n 个顶点的x单调多边形链T上的m个点的集合,以及, 为了,是最小值h使得点和彼此可见,即线段上的所有点位于多边形链T之上或之上。