The Contiguous Art Gallery Problem is in Θ(n log n)

Abstract

Recently, a natural variant of the Art Gallery problem, known as the Contiguous Art Gallery problem was proposed. Given a simple polygon P, the goal is to partition its boundary ∂ P into the smallest number of contiguous segments such that each segment is completely visible from some point in P. Unlike the classical Art Gallery problem, which is NP-hard, this variant is polynomial-time solvable. At SoCG~2025, three independent works presented algorithms for this problem, each achieving a running time of O(k n5 n) (or O(n6 n)), where k is the size of an optimal solution. Interestingly, these results were obtained using entirely different approaches, yet all led to roughly the same asymptotic complexity, suggesting that such a running time might be inherent to the problem. We show that this is not the case. In the real RAM-model, the prevalent model in computational geometry, we present an O(n n)-time algorithm, achieving an O(k n4) factor speed-up over the previous state-of-the-art. We also give a straightforward sorting-based lower bound by reducing from the set intersection problem. We thus show that the Contiguous Art Gallery problem is in Θ(n n).

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…