The art gallery problem or museum problem is a well-studied visibility problem in computational geometry. It originates from the following real-world problem:
"In an art gallery, what is the minimum number of guards who together can observe the whole gallery?" In the geometric version of the problem, the layout of the art gallery is represented by a simple polygon and each guard is represented by a point in the polygon. A set S of points is said to guard a polygon if, for every point p in the polygon, there is some q∈S such that the line segment between p and q does not leave the polygon. The art gallery problem can be applied in several domains such as in robotics, when artificial intelligences (AI) need to execute movements depending on their surroundings. Other domains, where this problem is applied, are in image editing, lighting problems of a stage or installation of infrastructures for the warning of natural disasters.
Two dimensions
There are numerous variations of the original problem that are also referred to as the art gallery problem. In some versions guards are restricted to the perimeter, or even to the vertices of the polygon. Some versions require only the perimeter or a subset of the perimeter to be guarded. Solving the version in which guards must be placed on vertices and only vertices need to be guarded is equivalent to solving the dominating set problem on the visibility graph of the polygon.
Chvátal's art gallery theorem Chvátal's art gallery theorem, named after Václav Chvátal, gives an upper bound on the minimal number of guards. It states:
"To guard a simple polygon with n vertices, ⌊n/3⌋ guards are always sufficient and sometimes necessary."
History The question about how many vertices/watchmen/guards were needed, was posed to Chvátal by Victor Klee in 1973. Chvátal proved it shortly thereafter. Chvátal's proof was later simplified by Steve Fisk, via a 3-coloring argument. Chvátal has a more geometrical approach, whereas Fisk uses well-known results from Graph theory.
Fisk's short proof
Steve Fisk's proof is so short and elegant that it was chosen for inclusion in Proofs from THE BOOK. The proof goes as follows: First, the polygon is triangulated (without adding extra vertices), which is possible, because the existence of triangulations is proven under certain verified conditions. The vertices of the resulting triangulation graph may be 3-colored. Clearly, under a 3-coloring, every triangle must have all three colors. The vertices with any one color form a valid guard set, because every triangle of the polygon is guarded by its vertex with that color. Since the three colors partition the n vertices of the polygon, the color with the fewest vertices defines a valid guard set with at most ⌊n/3⌋ guards.
Generalizations Chvátal's upper bound remains valid if the restriction to guards at corners is loosened to guards at any point not exterior to the polygon. There are a number of other generalizations and specializations of the original art-gallery theorem. For instance, for orthogonal polygons, those whose edges/walls meet at right angles, only ⌊n/4⌋ guards are needed. There are at least three distinct proofs of this result, none of them simple: by Kahn, Klawe, and Kleitman; by Lubiw; and by Sack and Toussaint. A related problem asks for the number of guards to cover the exterior of an arbitrary polygon (the "Fortress Problem"): ⌈n/2⌉ are sometimes necessary and always sufficient if guards are placed on the boundary of the polygon, while ⌈n/3⌉ are sometimes necessary and always sufficient if guards are placed anywhere in the exterior of the polygon. In other words, the infinite exterior is more challenging to cover than the finite interior.
… excerpt ends here. Continue reading the full article.


![Art gallery problem: An orthogonal polyhedron with every vertex invisible from its middle[23]](https://thumb.wikimedia.org/wikipedia/commons/thumb/d/d4/Orthogonal_polyhedron_with_no_vertex_visible_from_center.svg/500px-Orthogonal_polyhedron_with_no_vertex_visible_from_center.svg.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)

