Optimal Algorithms for Two-Guard Walkability of Simple Polygons

A polygon P admits a walk from a boundary point s to another boundary point t if two guards can simultaneously walk along the two boundary chains of P from s to t such that they are always visible to each other. A walk is called a straight walk if no backtracking is required during the walk. A straight walk is discrete if only one guard is allowed to move at a time, while the other guard waits at a vertex. We present simple, optimal O(n) time algorithms to determine all pairs of points of P which admit walks, straight walks and discrete straight walks. The chief merits of the algorithms are that these require simple data structures and do not assume a triangulation of P. Furthermore, the previous algorithms for the straight walk and the discrete straight walk versions ran in O(n log n) time even after assuming a triangulation.

[1]  J. O'Rourke Art gallery theorems and algorithms , 1987 .

[2]  Subir Kumar Ghosh,et al.  Characterizing LR-visibility polygons and related problems , 2001, Comput. Geom..

[3]  Paul J. Heffernan An optimal algorithm for the two-guard problem , 1996, Int. J. Comput. Geom. Appl..

[4]  Rolf Klein,et al.  The Two Guards Problem , 1992, Int. J. Comput. Geom. Appl..

[5]  Giri Narasimhan On Hamiltonian Triangulations in Simple Polygons , 1999, Int. J. Comput. Geom. Appl..

[6]  Giri Narasimhan,et al.  Finding All Weakly-Visible Chords of a Polygon in Linear Time (Extended Abstract) , 1994, SWAT.

[7]  Bernard Chazelle,et al.  Triangulating a simple polygon in linear time , 1990, Proceedings [1990] 31st Annual Symposium on Foundations of Computer Science.

[8]  Giri Narasimhan,et al.  LR-visibility in Polygons , 1997, Comput. Geom..

[9]  D. T. Lee,et al.  Two-Guard Walkability of Simple Polygons , 1998, Int. J. Comput. Geom. Appl..