An efficient algorithm for the three-guard problem

  • Authors:
  • Xuehou Tan

  • Affiliations:
  • School of High-Technology for Human Welfare, Tokai University, 317 Nishino, Numazu 410-0395, Japan

  • Venue:
  • Discrete Applied Mathematics
  • Year:
  • 2008

Quantified Score

Hi-index 0.04

Visualization

Abstract

Given a simple polygon P with two vertices u and v, the three-guard problem asks whether three guards can move from u to v such that the first and third guards are separately on two boundary chains of P from u to v and the second guard is always kept to be visible from two other guards inside P. It is a generalization of the well-known two-guard problem, in which two guards move on the boundary chains from u to v and are always kept to be mutually visible. In this paper, we introduce the concept of link-2-ray shots, which can be considered as ray shots under the notion of link-2-visibility. Then, we show a one-to-one correspondence between the structure of the restrictions placed on the motion of two guards and the one placed on the motion of three guards, and generalize the solution for the two-guard problem to that for the three-guard problem. We can decide whether there exists a solution for the three-guard problem in O(nlogn) time, and if so generate a walk in O(nlogn+m) time, where n denotes the number of vertices of P and m(@?n^2) the size of the optimal walk. This improves upon the previous time bounds O(n^2) and O(n^2logn), respectively. Moreover, our results can be used to solve other more sophisticated geometric problems.