English

Efficient Exact Algorithms for Minimum Covering of Orthogonal Polygons with Squares

Computational Geometry 2024-11-19 v2

Abstract

Let PP be an orthogonal polygon of nn vertices, without holes. The Orthogonal Polygon Covering with Squares (OPCS) problem takes as input such an orthogonal polygon PP with integral vertex coordinates, and asks to find the minimum number of axis-parallel squares whose union is PP itself. [Aupperle et. al, 1988] provide an O(N1.5)\mathcal O(N^{1.5})-time algorithm for OPCS, where NN is the number of integral lattice points lying in PP. In their paper, designing algorithms for OPCS with a running time polynomial in nn, was stated as an open question; NN can be arbitrarily larger than nn. 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 nn. We address this open question by designing a polynomial-time exact algorithm for OPCS with a worst-case running time of O(n10)\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 nn vertices and at most kk knobs, we design an algorithm for OPCS with a worst-case running time O(n2+k10n)\mathcal O(n^2 + k^{10} \cdot n). This algorithm is more efficient than the former, whenever k=o(n9/10)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 NN 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.

Keywords

Cite

@article{arxiv.2407.02658,
  title  = {Efficient Exact Algorithms for Minimum Covering of Orthogonal Polygons with Squares},
  author = {Anubhav Dhar and Subham Ghosh and Sudeshna Kolay},
  journal= {arXiv preprint arXiv:2407.02658},
  year   = {2024}
}
R2 v1 2026-06-28T17:27:13.883Z