Space---Query-Time Tradeoff for Computing the Visibility Polygon

  • Authors:
  • Mostafa Nouri;Mohammad Ghodsi

  • Affiliations:
  • Computer Engineering Department, Sharif University of Technology,;IPM School of Computer Science,

  • Venue:
  • FAW '09 Proceedings of the 3d International Workshop on Frontiers in Algorithmics
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

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 logn ) 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.