We study the problem of guarding points on an x-monotone polygonal chain, called a terrain, using k watchtowers. A watchtower is a vertical segment whose bottom endpoint lies on the terrain. A point on the terrain is visible from a watchtower if the l...
We study the problem of guarding points on an x-monotone polygonal chain, called a terrain, using k watchtowers. A watchtower is a vertical segment whose bottom endpoint lies on the terrain. A point on the terrain is visible from a watchtower if the line segment connecting the point and the top endpoint of the watchtower does not cross the terrain. The first problem is the k-watchtower problem. In the k-watchtower problem, every point of the terrain is visible from at least one watchtower. We consider minimizing the maximum height of the watchtowers. The second problem is the contiguous k-watchtower problem for a sequence of point sites lying on a terrain. In the contiguous version, we aim to partition the sequence into k contiguous subsequences, such that each subsequence is paired with exactly one watchtower, and every point site of a subsequence is visible from its paired watchtower. We consider two optimization objectives: minimizing the maximum length of the watchtowers and minimizing the maximum height of the watchtowers. The last problem is the problem of guarding an xy-monotone polyhedral surface, called a terrain, using k watchtowers. We consider two variants of this problem: one in which the entire surface of the terrain must be guarded, and another in which only a given set of point sites on the terrain must be guarded. We focus on the discrete version of the problem, such that each watchtower is restricted to be among the vertices of the terrain. We present algorithms for minimizing the maximum length of the watchtowers. These algorithms can also be applied to the problem of minimizing the maximum height of the watchtowers.