OPTIMAL PARALLEL ALGORITHMS FOR TRIANGULATED SIMPLE POLYGONS

1995 ◽  
Vol 05 (01n02) ◽  
pp. 145-170 ◽  
Author(s):  
JOHN HERSHBERGER

We provide optimal parallel solutions to several shortest path and visibility problems set in triangulated simple polygons. Let P be a triangulated simple polygon with n vertices, preprocessed to support shortest path queries. We can find the shortest path tree from any point inside P in O(log n) time using O(n/log n) processors. In the game bounds, we can preprocess P for shooting queries (a query can be answered in O(log n) time by a uniprocessor). Given a set S of m points inside P, we can find an implicit representation of the relative convex hull of S in O(log(nm)) time with O(m) processors. If the relative convex hull has k edges, we can explicitly produce these edges in O(log(nm)) time with O(k/log(nm)) processors. All of these algorithms are deterministic and use the CREW PRAM model.

1992 ◽  
Vol 02 (02) ◽  
pp. 175-190 ◽  
Author(s):  
SUMANTA GUHA

We present efficient parallel algorithms for two problems in simple polygons: the all-farthest neighbors problem and the external all-farthest neighbors problem. The all-farthest neighbors problem is that of computing, for each vertex p of a simple polygon P, a point ψ(p) in P farthest from p when the distance between p and ψ(p) is measured by the shortest path between them constrained to lie inside P. The external all-farthest neighbors problem is that of computing, for each vertex p of a simple polygon P, a point ϕ(p) on (the boundary of) P farthest from p when the distance between p and ϕ(p) is measured by the shortest path between them constrained to lie outside (the interior of) P. Both our algorithms run in O( log 2 n) time on a CREW PRAM with O(n) processors. Our divide-and-conquer method for the external all-farthest neighbors problem, in fact, leads to a new O(n log n) time serial algorithm that matches the currently best serial algorithm for this problem, but is simpler.


2002 ◽  
Vol 12 (03) ◽  
pp. 249-261 ◽  
Author(s):  
XUEHOU TAN

Let π(a,b) denote the shortest path between two points a, b inside a simple polygon P, which totally lies in P. The geodesic distance between a and b in P is defined as the length of π(a,b), denoted by gd(a,b), in contrast with the Euclidean distance between a and b in the plane, denoted by d(a,b). Given two disjoint polygons P and Q in the plane, the bridge problem asks for a line segment (optimal bridge) that connects a point p on the boundary of P and a point q on the boundary of Q such that the sum of three distances gd(p′,p), d(p,q) and gd(q,q′), with any p′ ∈ P and any q′ ∈ Q, is minimized. We present an O(n log 3 n) time algorithm for finding an optimal bridge between two simple polygons. This significantly improves upon the previous O(n2) time bound. Our result is obtained by making substantial use of a hierarchical structure that consists of segment trees, range trees and persistent search trees, and a structure that supports dynamic ray shooting and shortest path queries as well.


1995 ◽  
Vol 05 (04) ◽  
pp. 369-395 ◽  
Author(s):  
ESTHER M. ARKIN ◽  
JOSEPH S.B. MITCHELL ◽  
SUBHASH SURI

We develop a data structure for answering link distance queries between two arbitrary points in a simple polygon. The data structure requires O(n3) time and space for its construction and answers link distance queries in O(log n) time, after which a minimum-link path can be reported in time proportional to the number of links. Here, n denotes the number of vertices of the polygon. Our result extends to link distance queries between pairs of segments or polygons. We also propose a simpler data structure for computing a link distance approximately, where the error is bounded by a small additive constant. Finally, we also present a scheme for approximating the link and the shortest path distance simultaneously.


1998 ◽  
Vol 08 (03) ◽  
pp. 277-304
Author(s):  
Danny Z. Chen

The problem of determining the weak visibility of an n-vertex simple polygon P from an edge e of P is that of deciding whether every point in P is weakly visible from e. In this paper we present an optimal parallel algorithm for solving this problem. Our algorithm runs in O( log n) time using O(n/ log n) processors in the CREW PRAM computational model, and is very different from the sequential algorithms for this problem. We also show how to solve optimally, in parallel, several other problems that are related to the weak visibility of simple polygons.


2018 ◽  
Vol 29 (03) ◽  
pp. 391-402
Author(s):  
Pardis Kavand ◽  
Ali Mohades

A [Formula: see text]-workspace algorithm may use a workspace of [Formula: see text] words which can be read and written, in addition to their input, which is provided as a read-only array of [Formula: see text] items. We present a [Formula: see text]-workspace algorithm for constructing the shortest path tree of a simple polygon [Formula: see text] with [Formula: see text] vertices, with respect to a given point inside the polygon in [Formula: see text] time, where [Formula: see text] is the time for computing the visibility polygon of a given point inside a simple polygon with [Formula: see text] additional words of space.


1997 ◽  
Vol 07 (01n02) ◽  
pp. 85-121 ◽  
Author(s):  
Yi-Jen Chiang ◽  
Roberto Tamassia

We present efficient algorithms for shortest-path and minimum-link-path queries between two convex polygons inside a simple polygon P, which acts as an obstacle to be avoided. Let n be the number of vertices of P, and h the total number of vertices of the query polygons. We show that shortest-path queries can be performed optimally in time O( log h + log n) (plus O(k) time for reporting the k edges of the path) using a data structure with O(n) space and preprocessing time, and that minimum-link-path queries can be performed in optimal time O( log h + log n) (plus O(k) to report the k links), with O(n3) space and preprocessing time. We also extend our results to the dynamic case, and give a unified data structure that supports both queries for convex polygons in the same region of a connected planar subdivision [Formula: see text]. The update operations consist of insertions and deletions of edges and vertices. Let n be the current number of vertices in [Formula: see text]. The data structure uses O(n) space, supports updates in O( log 2 n) time, and performs shortest-path and minimum-link-path queries in times O( log h+ log 2n) (plus O(k) to report the k edges of the path) and O( log h + k log 2 n), respectively. Performing shortest-path queries is a variation of the well-studied separation problem, which has not been efficiently solved before in the presence of obstacles. Also, it was not previously known how to perform minimum-link-path queries in a dynamic environment, even for two-point queries.


2021 ◽  
Vol 182 (3) ◽  
pp. 301-319
Author(s):  
Mohammad Reza Zarrabi ◽  
Nasrollah Moghaddam Charkari

We study the query version of constrained minimum link paths between two points inside a simple polygon P with n vertices such that there is at least one point on the path, visible from a query point. The method is based on partitioning P into a number of faces of equal link distance from a point, called a link-based shortest path map (SPM). Initially, we solve this problem for two given points s, t and a query point q. Then, the proposed solution is extended to a general case for three arbitrary query points s, t and q. In the former, we propose an algorithm with O(n) preprocessing time. Extending this approach for the latter case, we develop an algorithm with O(n3) preprocessing time. The link distance of a q-visible path between s, t as well as the path are provided in time O(log n) and O(m + log n), respectively, for the above two cases, where m is the number of links.


1992 ◽  
Vol 02 (02) ◽  
pp. 135-162 ◽  
Author(s):  
F.R. HSU ◽  
R.C. CHANG ◽  
R.C.T. LEE

In this paper, we are concerned with the closest visible vertex pair problem, which is defined as follows: we are given two simple non-intersecting polygons P and Q with m and n vertices respectively, we are asked to find a closest visible pair of vertices between P and Q. We shall show that we can solve this problem in O( log (m+n)) time with O(m+n) processors in the CREW PRAM model.


Sign in / Sign up

Export Citation Format

Share Document