Experimental Evaluation of an Exact Algorithm for the Orthogonal Art Gallery Problem

We consider the Orthogonal Art Gallery problem (OAGP) whose goal is to minimize the number of vertex guards required to watch an art gallery whose boundary is an n-vertex orthogonal polygon P. Here, we explore an exact algorithm for OAGP, which we proposed in [1], that iteratively computes optimal solutions to Set Cover problems (SCPs) corresponding to discretizations of P. While it is known [1] that this procedure converges to an exact solution of the original continuous problem, the number of iterations executed is highly dependent on the way we discretize P. Although the best theoretical bound for convergence is θ(n3) iterations, we show that, in practice, it is achieved after only a few of them, even for random polygons of hundreds of vertices. As each iteration involves the solution of an SCP, the strategy for discretizing P is of paramount importance. In this paper, we carry out an extensive empirical investigation with five alternative discretization strategies to implement the algorithm. A broad range of polygon classes is tested. As a result, we are able to significantly improve the performance of the algorithm, while maintaining low execution times, to the point that we achieve a fivefold increase in polygon size, compared to the literature.

[1]  Hans-Dietrich Hecker,et al.  Two NP-Hard Art-Gallery Problems for Ortho-Polygons , 1995, Math. Log. Q..

[2]  D. T. Lee,et al.  Visibility of a simple polygon , 1983, Comput. Vis. Graph. Image Process..

[3]  Godfried T. Toussaint,et al.  Guard Placement in Rectilinear Polygons , 1988 .

[4]  Kenneth Falconer,et al.  Fractal Geometry: Mathematical Foundations and Applications , 1990 .

[5]  Stan Sclaroff,et al.  Automated camera layout to satisfy task-specific and floor plan-specific coverage requirements , 2006, Comput. Vis. Image Underst..

[6]  J. O'Rourke,et al.  Stationing guards in rectilinear art galleries , 1984 .

[7]  Bernard M. E. Moret,et al.  DIMACS Series in Discrete Mathematics and Theoretical Computer Science Towards a Discipline of Experimental Algorithmics , 2022 .

[8]  Joseph S. B. Mitchell,et al.  Locating Guards for Visibility Coverage of Polygons , 2007, Int. J. Comput. Geom. Appl..

[9]  E. A. Maxwell,et al.  Mathematical Gems II , 1976, The Mathematical Gazette.

[10]  Stephan Eidenbenz,et al.  Approximation algorithms for terrain guarding , 2002, Inf. Process. Lett..

[11]  C. C. de Souza,et al.  An Exact and Efficient Algorithm for the Orthogonal Art Gallery Problem , 2007 .

[12]  António Leslie Bajuelos,et al.  Generating Random Orthogonal Polygons , 2003, CAEPIA.

[13]  Alberto Bugarín,et al.  Current Topics in Artificial Intelligence, 11th Conference of the Spanish Association for Artificial Intelligence, CAEPIA 2005, Santiago de Compostela, Spain, November 16-18, 2005, Revised Selected Papers , 2006, CAEPIA.

[14]  J. Kahn,et al.  Traditional Galleries Require Fewer Watchmen , 1983 .

[15]  Fábio Marques,et al.  On Visibility Problems in the Plane -- Solving Minimum Vertex Guard Problems by Successive Approximations , 2006, AI&M.

[16]  David S. Johnson,et al.  A theoretician's guide to the experimental analysis of algorithms , 1999, Data Structures, Near Neighbor Searches, and Methodology.

[17]  Jorge Urrutia,et al.  Art Gallery and Illumination Problems , 2000, Handbook of Computational Geometry.

[18]  V. Chvátal A combinatorial theorem in plane geometry , 1975 .

[19]  J. Sack,et al.  Handbook of computational geometry , 2000 .

[20]  B. Joe,et al.  Corrections to Lee's visibility polygon algorithm , 1987, BIT.

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

[22]  Peter Sanders,et al.  Presenting Data from Experiments in Algorithmics , 2000, Experimental Algorithmics.

[23]  Bernard M. E. Moret,et al.  How to present a paper on experimental work with algorithms , 1999, SIGA.