Finding the k-Visibility Region of a Point in a Simple Polygon in the Memory-Constrained Model
نویسندگان
چکیده
We study the problem of k-visibility in the memoryconstrained model. In this model, the input resides in a randomly accessible read-only memory of O(n) words with O(log n) bits each. An algorithm can read and write O(s) additional words of workspace during its execution, and it writes its output to write-only memory. In a given polygon P , for a given point q ∈ P , we say a point p is inside the k-visibility region of q iff the segment pq intersects the boundary of P at most k times. Given a simple n-vertex polygon P stored in a read-only array and a point q ∈ P , we give a time-space trade-off algorithm which reports a suitable representation of the k-visibility region of q in O(n/s+n log s) time usingO(s) words of workspace.
منابع مشابه
Time-Space Trade-Off for Finding the k-Visibility Region of a Point in a Polygon
We study the problem of computing the k-visibility region in the memory-constrained model. In this model, the input resides in a randomly accessible read-only memory of O(n) words, with O(logn) bits each. An algorithm can read and write O(s) additional words of workspace during its execution, and it writes its output to write-only memory. In a given polygon P and for a given point q ∈ P , we sa...
متن کاملSingle-Point Visibility Constraint Minimum Link Paths in Simple Polygons
We address the following problem: Given a simple polygon $P$ with $n$ vertices and two points $s$ and $t$ inside it, find a minimum link path between them such that a given target point $q$ is visible from at least one point on the path. The method is based on partitioning a portion of $P$ into a number of faces of equal link distance from a source point. This partitioning is essentially a shor...
متن کاملA Fast Algorithm for Covering Rectangular Orthogonal Polygons with a Minimum Number of r-Stars
Introduction This paper presents an algorithm for covering orthogonal polygons with minimal number of guards. This idea examines the minimum number of guards for orthogonal simple polygons (without holes) for all scenarios and can also find a rectangular area for each guards. We consider the problem of covering orthogonal polygons with a minimum number of r-stars. In each orthogonal polygon P,...
متن کاملAn Optimal Algorithm for Computing the Visibility Area of a Polygon from a Point Using Constant-Memory
Given a simple polygon P of n vertices in the Plane. We study the problem of computing the visibility area from a given viewpoint q inside P where only sub-linear variables are allowed for working space. Without any memory-constrained, this problem was previously solved in O(n)-time and O(n)-variables space. In a newer research, the visibility area of a point be computed in O(n)time, using O( √...
متن کاملQuery-point visibility constrained shortest paths in simple polygons
In this paper, we study the problem of finding the shortest path between two points inside a simple polygon such that there is at least one point on the path fromwhich a query point is visible. We provide an algorithmwhich preprocesses the input in O(n2+nK ) time and space and provides logarithmic query time. The input polygon has n vertices and K is a parameter dependent on the input polygon w...
متن کامل