An optimal algorithm for the two-guard problem
An optimal algorithm for the two-guard problem
复制标题
DOI:
10.1145/160985.161163
复制
发表时间:
1993-07
期刊:
影响因子:
--
通讯作者:
P. Heffernan
中科院分区:
文献类型:
--
作者:
P. Heffernan
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.