2009 | OriginalPaper | Chapter
Space–Query-Time Tradeoff for Computing the Visibility Polygon
Authors : Mostafa Nouri, Mohammad Ghodsi
Published in: Frontiers in Algorithmics
Publisher: Springer Berlin Heidelberg
Activate our intelligent search to find suitable subject content or patents.
Select sections of text to find matching patents with Artificial Intelligence. powered by
Select sections of text to find additional relevant content using AI-assisted search. powered by
Computing the visibility polygon, VP, of a point in a polygonal scene, is a classical problem that has been studied extensively. In this paper, we consider the problem of computing VP for any query point efficiently, with some additional preprocessing phase. The scene consists of a set of obstacles, of total complexity
O
(
n
). We show for a query point
q
,
VP
(
q
) can be computed in logarithmic time using
O
(
n
4
) space and
O
(
n
4
log
n
) preprocessing time. Furthermore to decrease space usage and preprocessing time, we make a tradeoff between space usage and query time; so by spending
O
(
m
) space, we can achieve
$O(n^2 \log (\sqrt{m}/n) / \sqrt{m})$
query time, where
n
2
≤
m
≤
n
4
. These results are also applied to angular sorting of a set of points around a query point.