An Efficient Algorithm for Mobile Guarded Guards in Simple Grids

  • Adrian Kosowski
  • Michał Małafiejski
  • Paweł Żyliński
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3980)


A set of mobile guards in a grid is guarded if at any point on its patrol segment every guard can be seen by at least one other guard. Herein we discuss a class of polygon-bounded grids and simple grids for which we propose a quadratic time algorithm for solving the problem of finding the minimum set of mobile guarded guards (the MinMGG problem). Recall that the MinMGG problem is NP-hard even for grids every segment of which crosses at most three other segments. We also provide an O(n log n) time algorithm for the MinMGG problem in horizontally or vertically unobstructed grids. Finally, we investigate complete rectangular grids with obstacles. We show that if both the vertical and the horizontal sizes of the grid are larger than the number of obstacles k, k+2 mobile guarded guards always suffice to cover the grid.


Intersection Graph Domination Number Vertical Segment Horizontal Segment Minimum Total 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Aggarwal, A.: The Art Gallery Theorem: Its Variations, Applications, and Algorithmic Aspects, Ph.D. Thesis. Johns Hopkins University (1984)Google Scholar
  2. 2.
    Avis, D., Toussaint, G.T.: An optimal algorithm for determining the visibility of a polygon from an edge. IEEE Trans. Comput. C-30, 910–914 (1981)Google Scholar
  3. 3.
    Bjorling-Sachs, I., Souvaine, D.L.: A tight bound for edge guards in monotone polygons, DIMACS Technical Report 92-52 (1992)Google Scholar
  4. 4.
    Chvátal, V.: A combinatorial theorem in plane geometry. J. Combin. Theory, Ser. B 18, 39–41 (1997)CrossRefGoogle Scholar
  5. 5.
    Czyżowicz, J., Kranakis, E., Urrutia, J.: A simple proof of the representation of bipartite planar graphs as the contact graphs of orthogonal straight line segments. Inf. Process. Lett. 66, 125–126 (1998)MATHCrossRefGoogle Scholar
  6. 6.
    Finke, U., Hinchirs, K.: Overlaying simply connected planar subdivisions in linear time. In: Proc. of ACM SoCG 1995, pp. 119–126 (1995)Google Scholar
  7. 7.
    Gewali, L.P., Ntafos, S.: Covering grids and orthogonal polygons with periscope guards. Computational Geometry: Theory and Applications 2, 309–334 (1993)MATHMathSciNetGoogle Scholar
  8. 8.
    Hernández-Peñalver, G.: Controlling guards. In: Proc. of CCCG 1994, pp. 387–392 (1994)Google Scholar
  9. 9.
    Hernández-Peñalver, G.: Vigilancia vigilada en polígonos ortogonales. Actas del VI Encuentro de Geometria Computacional, 198-205 (1995)Google Scholar
  10. 10.
    Katz, M.J., Mitchell, J.S.B., Nir, Y.: Orthogonal segment stabbing. Computational Geometry: Theory and Applications 30, 197–205 (2005)MATHMathSciNetGoogle Scholar
  11. 11.
    Kosowski, A., Małafiejski, M., Żyliński, P.: Weakly cooperative mobile guards in grids. In: Extended abstract in Proc. of JCDCG, pp. 83–84 (2004)Google Scholar
  12. 12.
    Liaw, B.C., Huang, N.F., Lee, R.C.T.: The minimum cooperative guards problem on k-spiral polygons. In: Proc. of CCCG 1993, pp. 97–101 (1993)Google Scholar
  13. 13.
    Liaw, B.C., Huang, N.F., Lee, R.C.T.: An optimal algorithm to solve the minimum weakly cooperative guards problem for 1-spiral polygons. Inf. Process. Lett. 52, 69–75 (1994)MATHCrossRefGoogle Scholar
  14. 14.
    Małafiejski, M., Żyliński, P.: Weakly cooperative guards in grids. In: Gervasi, O., Gavrilova, M.L., Kumar, V., Laganá, A., Lee, H.P., Mun, Y., Taniar, D., Tan, C.J.K. (eds.) ICCSA 2005. LNCS, vol. 3480, pp. 647–656. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  15. 15.
    Michael, T.S., Pinciu, V.: Art gallery theorems for guarded guards. Computational Geometry: Theory and Applications 26, 247–258 (2003)MATHMathSciNetGoogle Scholar
  16. 16.
    Michael, T.S., Pinciu, V.: Multiply guarded guards in orthogonal art galleries. In: Alexandrov, V.N., Dongarra, J., Juliano, B.A., Renner, R.S., Tan, C.J.K. (eds.) ICCS-ComputSci 2001. LNCS, vol. 2073, pp. 753–762. Springer, Heidelberg (2001)CrossRefGoogle Scholar
  17. 17.
    Nierhoff, T., Żyliński, P.: Note on cooperative guards in grids. In: Annual CGC Workshop, Neustrelitz (2003)Google Scholar
  18. 18.
    Ntafos, S.: On gallery watchman in grids. Inf. Process. Lett. 23, 99–102 (1986)MATHCrossRefGoogle Scholar
  19. 19.
    O’Rourke, J.: Galleries need fewer mobile guards: a variation to Chvatátal’s Theorem. Geometriae Dedicata 14, 273–283 (1983)MATHMathSciNetGoogle Scholar
  20. 20.
    O’Rourke, J.: Art Gallery Theorems and Algorithms. Oxford University Press, Oxford (1987)MATHGoogle Scholar
  21. 21.
    Pinciu, V.: ICCSA 2003. LNCS, vol. 2669, pp. 886–893. Springer, Heidelberg (2003)Google Scholar
  22. 22.
    Urrutia, J.: Art Gallery and Illumination Problems. In: Handbook on Computational Geometry. Elsevier, Amsterdam (2000)Google Scholar
  23. 23.
    Żyliński, P.: Watched guards in art galleries. accepted for: Journal of GeometryGoogle Scholar
  24. 24.
    Żyliński, P.: Cooperative Guards Problem – Combinatorial Bounds and Complexity, Ph.D. Thesis. Gdańsk University (2005)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Adrian Kosowski
    • 1
  • Michał Małafiejski
    • 1
  • Paweł Żyliński
    • 2
  1. 1.Department of Algorithms and System ModelingGdańsk University of Technology 
  2. 2.Insitute of MathematicsUniversity of Gdańsk 

Personalised recommendations