Visibility testing and counting

For a set of n disjoint line segments S in R2, the visibility counting problem (VCP) is to preprocess S such that the number of visible segments in S from a query point p can be computed quickly. For this configuration, the visibility testing problem (VTP) is to test whether p sees a fixed segment s. These problems can be solved in logarithmic query time by using O(n4) preprocessing time and space. In this paper, we approximately solve this problem using quadratic preprocessing time and space. Our methods are superior to current approximation algorithms in terms of both approximation factor and preprocessing cost. In this paper, we propose a 2-approximation algorithm for the VCP using at most quadratic preprocessing time and space. The query time of this method is Oe(n2/√k) where k is the preprocessing time and Oe(f(n)) = O(f(n)ne). We also solve the VTP in expected logarithmic query time using quadratic time and space.

[1]  Joseph O'Rourke,et al.  Worst-case optimal algorithms for constructing visibility polygons with holes , 1986, SCG '86.

[2]  Gert Vegter,et al.  The Visibility Diagram: a Data Structure for Visibility Problems and Motion Planning , 1990, Scandinavian Workshop on Algorithm Theory.

[3]  Pankaj K. Agarwal,et al.  Geometric Range Searching and Its Relatives , 2007 .

[4]  Michel Pocchiola,et al.  The visibility complex , 1993, SCG '93.

[5]  Joachim Gudmundsson,et al.  Planar visibility: testing and counting , 2010, SCG.

[6]  Prosenjit Bose,et al.  Efficient visibility queries in simple polygons , 2002, Comput. Geom..

[7]  David M. Mount,et al.  An Output Sensitive Algorithm for Computing Visibility Graphs , 1987, FOCS.

[8]  Leonidas J. Guibas,et al.  Visibility Queries and Maintenance in Simple Polygons , 2002, Discret. Comput. Geom..

[9]  Friedhelm Meyer auf der Heide,et al.  Planar Visibility Counting , 2008, ArXiv.

[10]  Mohammad Ghodsi,et al.  Efficient computation of query point visibility in polygons with holes , 2005, SCG.

[11]  Niklaus Wirth,et al.  Algorithms and Data Structures , 1989, Lecture Notes in Computer Science.

[12]  Jirí Matousek,et al.  Efficient partition trees , 1991, SCG '91.

[13]  Subir Kumar Ghosh,et al.  Visibility Algorithms in the Plane , 2007 .

[14]  T. Asano An Efficient Algorithm for Finding the Visibility Polygon for a Polygonal Region with Holes , 1985 .

[15]  Mohammad Ghodsi,et al.  Space/query-time tradeoff for computing the visibility polygon , 2009, Comput. Geom..