English

A Practical Algorithm with Performance Guarantees for the Art Gallery Problem

Computational Geometry 2024-08-07 v8 Discrete Mathematics Data Structures and Algorithms

Abstract

Given a closed simple polygon PP, we say two points p,qp,q see each other if the segment pqpq is fully contained in PP. The art gallery problem seeks a minimum size set GPG\subset P of guards that sees PP completely. The only currently correct algorithm to solve the art gallery problem exactly uses algebraic methods and is attributed to Sharir. As the art gallery problem is ER-complete, it seems unlikely to avoid algebraic methods, without additional assumptions. In this paper, we introduce the notion of vision stability. In order to describe vision stability consider an enhanced guard that can see "around the corner" by an angle of δ\delta or a diminished guard whose vision is by an angle of δ\delta "blocked" by reflex vertices. A polygon PP has vision stability δ\delta if the optimal number of enhanced guards to guard PP is the same as the optimal number of diminished guards to guard PP. We will argue that most relevant polygons are vision stable. We describe a one-shot vision stable algorithm that computes an optimal guard set for visionstable polygons using polynomial time and solving one integer program. It guarantees to find the optimal solution for every vision stable polygon. We implemented an iterative visionstable algorithm and show its practical performance is slower, but comparable with other state of the art algorithms. Our iterative algorithm is inspired and follows closely the one-shot algorithm. It delays several steps and only computes them when deemed necessary. Given a chord cc of a polygon, we denote by n(c)n(c) the number of vertices visible from cc. The chord-width of a polygon is the maximum n(c)n(c) over all possible chords cc. The set of vision stable polygons admits an FPT algorithm when parametrized by the chord-width. Furthermore, the one-shot algorithm runs in FPT time, when parameterized by the number of reflex vertices.

Keywords

Cite

@article{arxiv.2007.06920,
  title  = {A Practical Algorithm with Performance Guarantees for the Art Gallery Problem},
  author = {Simon Hengeveld and Tillmann Miltzow},
  journal= {arXiv preprint arXiv:2007.06920},
  year   = {2024}
}

Comments

59 pages main body, 23 figures