arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.02658cs.CG
收藏

用正方形最小覆盖正交多边形的高效精确算法

Efficient Exact Algorithms for Minimum Covering of Orthogonal Polygons with Squares

Anubhav Dhar, Subham Ghosh, Sudeshna Kolay

AI总结:

本文针对无孔正交多边形正方形覆盖(OPCS)问题,提出了运行时间分别为 $\mathcal O(n^{10})$ 和 $\mathcal O(n^2 + k^{10} \cdot n)$ 的多项式时间精确算法,并修正了带孔情况(OPCSH)的NP完全性证明。

摘要:

设 $P$ 为一个具有 $n$ 个顶点且无孔的正交多边形。用正方形覆盖正交多边形(OPCS)问题以这样一个具有整数顶点坐标的正交多边形 $P$ 作为输入,要求找到最少数量的轴平行正方形,使得它们的并集恰好为 $P$ 本身。[Aupperle et. al, 1988] 为 OPCS 提供了一个时间复杂度为 $\mathcal O(N^{1.5})$ 的算法,其中 $N$ 是位于 $P$ 内的整数格点数量。在他们的论文中,设计运行时间以 $n$ 为多项式的 OPCS 算法被提出作为一个开放问题;因为 $N$ 可以任意大于 $n$。由于 [Bar-Yehuda and Ben-Chanoch, 1994] 的工作,输出敏感算法已被知晓,但这些算法未能解决该开放问题,因为输出可以任意大于 $n$。我们通过设计一个最坏情况运行时间为 $\mathcal O(n^{10})$ 的多项式时间精确算法来解决这个开放问题。我们还考虑了该问题的以下结构参数化版本。定义一个“旋钮”(knob)为一条两个端点均为凸多边形顶点的多边形边。给定一个具有 $n$ 个顶点且最多有 $k$ 个旋钮的无孔输入正交多边形,我们设计了一个最坏情况运行时间为 $\mathcal O(n^2 + k^{10} \cdot n)$ 的 OPCS 算法。每当 $k = o(n^{9/10})$ 时,该算法比前一个算法更高效。带孔正交多边形正方形覆盖问题(OPCSH)也由 [Aupperle et. al, 1988] 进行了研究,其中输入多边形可以带孔。他们声称证明了 OPCSH 是 NP 完全的,即使输入是多边形内部的 $N$ 个格点。我们认为他们的证明中存在错误,即展示了一个从 Planar 3-CNF 的错误归约。我们通过对其中的一个“构件”(gadget)进行新颖构造,提供了一个正确的归约,并展示了这如何导出 OPCSH 的 NP 完全性的正确证明。

英文摘要:

Let $P$ be an orthogonal polygon of $n$ vertices, without holes. The Orthogonal Polygon Covering with Squares (OPCS) problem takes as input such an orthogonal polygon $P$ with integral vertex coordinates, and asks to find the minimum number of axis-parallel squares whose union is $P$ itself. [Aupperle et. al, 1988] provide an $\mathcal O(N^{1.5})$-time algorithm for OPCS, where $N$ is the number of integral lattice points lying in $P$. In their paper, designing algorithms for OPCS with a running time polynomial in $n$, was stated as an open question; $N$ can be arbitrarily larger than $n$. Output sensitive algorithms were known due to [Bar-Yehuda and Ben-Chanoch, 1994], but these fail to address the open question, as the output can be arbitrarily larger than $n$. We address this open question by designing a polynomial-time exact algorithm for OPCS with a worst-case running time of $\mathcal O(n^{10})$. We also consider the following structural parameterized version of the problem. Let a knob be a polygon edge whose both endpoints are convex polygon vertices. Given an input orthogonal polygon without holes that has $n$ vertices and at most $k$ knobs, we design an algorithm for OPCS with a worst-case running time $\mathcal O(n^2 + k^{10} \cdot n)$. This algorithm is more efficient than the former, whenever $k = o(n^{9/10})$. The problem of Orthogonal Polygon with Holes Covering with Squares (OPCSH) is also studied by [Aupperle et. al, 1988], where the input polygon could have holes. They claim a proof that OPCSH is NP-complete even when the input is the $N$ lattice points inside the polygon. We think there is an error in their proof, where an incorrect reduction from Planar 3-CNF is shown. We provide a correct reduction with a novel construction of one of the gadgets, and show how this leads to a correct proof of NP-completeness of OPCSH.

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

↑