Papers
Topics
Authors
Recent
Search
2000 character limit reached

A Time-Space Trade-off for Computing the k-Visibility Region of a Point in a Polygon

Published 9 Mar 2016 in cs.CG | (1603.02853v3)

Abstract: Let PP be a simple polygon with nn vertices, and let q∈Pq \in P be a point in PP. Let k∈{0,…,n−1}k \in \{0, \dots, n - 1\}. A point p∈Pp \in P is kk-visible from qq if and only if the line segment pqpq crosses the boundary of PP at most kk times. The kk-visibility region of qq in PP is the set of all points that are kk-visible from qq. We study the problem of computing the kk-visibility region in the limited workspace model, where the input resides in a random-access read-only memory of O(n)O(n) words, each with Ω(log⁡n)\Omega(\log{n}) bits. The algorithm can read and write O(s)O(s) additional words of workspace, where s∈Ns \in \mathbb{N} is a parameter of the model. The output is written to a write-only stream. Given a simple polygon PP with nn vertices and a point q∈Pq \in P, we present an algorithm that reports the kk-visibility region of qq in PP in O(cn/s+clog⁡s+min⁡{⌈k/s⌉n,nlog⁡log⁡sn})O(cn/s+c\log{s} + \min\{\lceil k/s \rceil n,n \log{\log_s{n}}\}) expected time using O(s)O(s) words of workspace. Here, c∈{1,…,n}c \in \{1, \dots, n\} is the number of critical vertices of PP for qq where the kk-visibility region of qq may change. We generalize this result for polygons with holes and for sets of non-crossing line segments.

Citations (11)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.