An optimal algorithm for the two-guard problem

  • Authors:
  • Paul J. Heffernan

  • Affiliations:
  • -

  • Venue:
  • SCG '93 Proceedings of the ninth annual symposium on Computational geometry
  • Year:
  • 1993

Quantified Score

Hi-index 0.02

Visualization

Abstract

In this paper we give optimal solutions for two versions of the two-guard problem. Given a simple polygon P with vertices s and t, the straight walk problem asks whether we can move two points monotonically on P from s to t, one clockwise and one counterclockwise, such that the points are always co-visible. In the counter walk problem, both points move clockwise, one from s to t and the other from t to s. We provide &THgr;(n) constructive algorithms for both problems. We obtain our results by examining the structure of the restrictions placed on the motion of the two points, and by employing properties of shortest paths and shortest path trees.