{"title":"用正方形最小覆盖正交多边形的高效精确算法","authors":"Anubhav Dhar, Subham Ghosh, Sudeshna Kolay","doi":"arxiv-2407.02658","DOIUrl":null,"url":null,"abstract":"The Orthogonal Polygon Covering with Squares (OPCS) problem takes as input an\northogonal polygon $P$ without holes with $n$ vertices, where vertices have\nintegral coordinates. The aim is to find a minimum number of axis-parallel,\npossibly overlapping squares which lie completely inside $P$, such that their\nunion covers the entire region inside $P$. Aupperle et.\nal~\\cite{aupperle1988covering} provide an $\\mathcal O(N^{1.5})$-time algorithm\nto solve OPCS for orthogonal polygons without holes, where $N$ is the number of\nintegral lattice points lying in the interior or on the boundary of $P$.\nDesigning algorithms for OPCS with a running time polynomial in $n$ (the number\nof vertices of $P$) was discussed as an open question in\n\\cite{aupperle1988covering}, since $N$ can be exponentially larger than $n$. In\nthis paper we design a polynomial-time exact algorithm for OPCS with a running\ntime of $\\mathcal O(n^{14})$. We also consider the following structural parameterized version of the\nproblem. A knob in an orthogonal polygon is a polygon edge whose both endpoints\nare convex polygon vertices. Given an input orthogonal polygon with $n$\nvertices and $k$ knobs, we design an algorithm for OPCS with running time\n$\\mathcal O(n^2 + k^{14} \\cdot n)$. In \\cite{aupperle1988covering}, the Orthogonal Polygon with Holes Covering\nwith Squares (OPCSH) problem is also studied where orthogonal polygon could\nhave holes, and the objective is to find a minimum square covering of the input\npolygon. This is shown to be NP-complete. We think there is an error in the\nexisting proof in \\cite{aupperle1988covering}, where a reduction from Planar\n3-CNF is shown. We fix this error in the proof with an alternate construction\nof one of the gadgets used in the reduction, hence completing the proof of\nNP-completeness of OPCSH.","PeriodicalId":501570,"journal":{"name":"arXiv - CS - Computational Geometry","volume":"364 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Efficient Exact Algorithms for Minimum Covering of Orthogonal Polygons with Squares\",\"authors\":\"Anubhav Dhar, Subham Ghosh, Sudeshna Kolay\",\"doi\":\"arxiv-2407.02658\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The Orthogonal Polygon Covering with Squares (OPCS) problem takes as input an\\northogonal polygon $P$ without holes with $n$ vertices, where vertices have\\nintegral coordinates. The aim is to find a minimum number of axis-parallel,\\npossibly overlapping squares which lie completely inside $P$, such that their\\nunion covers the entire region inside $P$. Aupperle et.\\nal~\\\\cite{aupperle1988covering} provide an $\\\\mathcal O(N^{1.5})$-time algorithm\\nto solve OPCS for orthogonal polygons without holes, where $N$ is the number of\\nintegral lattice points lying in the interior or on the boundary of $P$.\\nDesigning algorithms for OPCS with a running time polynomial in $n$ (the number\\nof vertices of $P$) was discussed as an open question in\\n\\\\cite{aupperle1988covering}, since $N$ can be exponentially larger than $n$. In\\nthis paper we design a polynomial-time exact algorithm for OPCS with a running\\ntime of $\\\\mathcal O(n^{14})$. We also consider the following structural parameterized version of the\\nproblem. A knob in an orthogonal polygon is a polygon edge whose both endpoints\\nare convex polygon vertices. Given an input orthogonal polygon with $n$\\nvertices and $k$ knobs, we design an algorithm for OPCS with running time\\n$\\\\mathcal O(n^2 + k^{14} \\\\cdot n)$. In \\\\cite{aupperle1988covering}, the Orthogonal Polygon with Holes Covering\\nwith Squares (OPCSH) problem is also studied where orthogonal polygon could\\nhave holes, and the objective is to find a minimum square covering of the input\\npolygon. This is shown to be NP-complete. We think there is an error in the\\nexisting proof in \\\\cite{aupperle1988covering}, where a reduction from Planar\\n3-CNF is shown. We fix this error in the proof with an alternate construction\\nof one of the gadgets used in the reduction, hence completing the proof of\\nNP-completeness of OPCSH.\",\"PeriodicalId\":501570,\"journal\":{\"name\":\"arXiv - CS - Computational Geometry\",\"volume\":\"364 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-07-02\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Computational Geometry\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2407.02658\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Computational Geometry","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.02658","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Efficient Exact Algorithms for Minimum Covering of Orthogonal Polygons with Squares
The Orthogonal Polygon Covering with Squares (OPCS) problem takes as input an
orthogonal polygon $P$ without holes with $n$ vertices, where vertices have
integral coordinates. The aim is to find a minimum number of axis-parallel,
possibly overlapping squares which lie completely inside $P$, such that their
union covers the entire region inside $P$. Aupperle et.
al~\cite{aupperle1988covering} provide an $\mathcal O(N^{1.5})$-time algorithm
to solve OPCS for orthogonal polygons without holes, where $N$ is the number of
integral lattice points lying in the interior or on the boundary of $P$.
Designing algorithms for OPCS with a running time polynomial in $n$ (the number
of vertices of $P$) was discussed as an open question in
\cite{aupperle1988covering}, since $N$ can be exponentially larger than $n$. In
this paper we design a polynomial-time exact algorithm for OPCS with a running
time of $\mathcal O(n^{14})$. We also consider the following structural parameterized version of the
problem. A knob in an orthogonal polygon is a polygon edge whose both endpoints
are convex polygon vertices. Given an input orthogonal polygon with $n$
vertices and $k$ knobs, we design an algorithm for OPCS with running time
$\mathcal O(n^2 + k^{14} \cdot n)$. In \cite{aupperle1988covering}, the Orthogonal Polygon with Holes Covering
with Squares (OPCSH) problem is also studied where orthogonal polygon could
have holes, and the objective is to find a minimum square covering of the input
polygon. This is shown to be NP-complete. We think there is an error in the
existing proof in \cite{aupperle1988covering}, where a reduction from Planar
3-CNF is shown. We fix this error in the proof with an alternate construction
of one of the gadgets used in the reduction, hence completing the proof of
NP-completeness of OPCSH.