arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.13938cs.CG
收藏

连续艺术馆问题可在多项式时间内求解

The Contiguous Art Gallery Problem is Solvable in Polynomial Time

Magnus Christian Ring Merrild, Casper Moldrup Rysgaard, Jens Kristian Refsgaard Schou, Rolf Svenning

AI总结:

本文研究连续艺术馆问题,提出一种时间复杂度为 $\mathcal{O}(n^6 \log n)$ 的贪心多项式时间 RAM 算法,证明该问题属于 P,并为受限环境提供额外算法。

摘要:

在本文中,我们研究了连续艺术馆问题,该问题由 Thomas C. Shermer 在 2024 年加拿大计算几何会议上提出,是 Victor Klee 于 1973 年提出的经典艺术馆问题的一个变体。在连续变体中,输入是一个简单多边形 $P$,目标是将边界划分为最少数量的多边形链,使得每条链对一个守卫可见。我们提出了一种多项式时间 RAM 算法来求解连续艺术馆问题。我们的算法简单且实用,并提供了 C++ 实现。相比之下,艺术馆问题的许多变体至少是 NP 困难的,这使得连续变体脱颖而出。这些变体包括经典艺术馆问题和边覆盖问题,最近分别由 Abrahamsen、Adamaszek 和 Miltzow [J. ACM 2022] 以及 Stade [SoCG 2025] 证明为 $\exists\mathbb{R}$-完全的。我们的算法是一种贪心算法,反复遍历多边形的边界。为了找到最优解,我们证明遍历多边形多项式次即可,从而产生 $\mathcal{O}\\!\left( n^6 \log n \right)$ 的算术运算运行时间。我们进一步界定了计算值的位复杂度,表明该问题属于 P。此外,我们还为受限环境提供了算法,其中多边形链的端点或守卫必须与多边形的顶点重合。

英文摘要:

In this paper, we study the Contiguous Art Gallery Problem, introduced by Thomas C. Shermer at the 2024 Canadian Conference on Computational Geometry, a variant of the classical art gallery problem from 1973 by Victor Klee. In the contiguous variant, the input is a simple polygon $P$, and the goal is to partition the boundary into a minimum number of polygonal chains such that each chain is visible to a guard. We present a polynomial-time RAM algorithm, which solves the contiguous art gallery problem. Our algorithm is simple and practical, and we make a C++ implementation available. In contrast, many variations of the art gallery problem are at least NP-hard, making the contiguous variant stand out. These include the classical art gallery problem and the edge-covering problem, both of which being proven to be $\exists\mathbb{R}$-complete recently by Abrahamsen, Adamaszek, and Miltzow [J. ACM 2022] and Stade [SoCG 2025], respectively. Our algorithm is a greedy algorithm that repeatedly traverses the polygon's boundary. To find an optimal solution, we show that it is sufficient to traverse the polygon polynomially many times, resulting in a runtime of $\mathcal{O}\!\left( n^6 \log n \right)$ arithmetic operations. We further bound the bit complexity of the computed values, showing that problem is in P. Additionally, we provide algorithms for the restricted settings, where either the endpoints of the polygonal chains or the guards must coincide with the vertices of the polygon.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑