English

Guarding Terrains with Guards on a Line

Computational Geometry 2025-05-06 v1

Abstract

Given an xx-monotone polygonal chain TT with nn vertices, and an integer kk, we consider the problem of finding the lowest horizontal line LL lying above TT with kk point guards lying on LL, so that every point on the chain is \emph{visible} from some guard. A natural optimization is to minimize the yy-coordinate of LL. We present an algorithm for finding the optimal placements of LL and kk point guards for TT in O(k2λk1(n)logn)O(k^2\lambda_{k-1}(n)\log n) time for even numbers k2k\ge 2, and in O(k2λk2(n)logn)O(k^2\lambda_{k-2}(n)\log n) time for odd numbers k3k \ge 3, where λs(n)\lambda_{s}(n) is the length of the longest (n,s)(n,s)-Davenport-Schinzel sequence. We also study a variant with an additional requirement that TT is partitioned into kk subchains, each subchain is paired with exactly one guard, and every point on a subchain is visible from its paired guard. When LL is fixed, we can place the minimum number of guards in O(n)O(n) time. When the number kk of guards is fixed, we can find an optimal placement of LL with kk point guards lying on LL in O(kn)O(kn) time.

Keywords

Cite

@article{arxiv.2505.02373,
  title  = {Guarding Terrains with Guards on a Line},
  author = {Byeonguk Kang and Hwi Kim and Hee-Kap Ahn},
  journal= {arXiv preprint arXiv:2505.02373},
  year   = {2025}
}

Comments

18 pages, 10 figures

R2 v1 2026-06-28T23:21:02.242Z