网格图中哈密顿性的问题的ASP完全性,及其在回路谜题中的应用
ASP-Completeness of Hamiltonicity in Grid Graphs, with Applications to Loop Puzzles
AI总结:
研究证明最大度数为3的网格图中哈密顿性问题为ASP完全,且通过回路谜题的应用展示了其计算复杂性。
摘要:
我们证明了最大度数为3的网格图(有向或无向)中的哈密顿性问题是ASP完全的,即它可以通过每个NP搜索问题(包括多项式时间的双射)进行 parsimonious 减少。作为结果,给定k个哈密顿环,找到另一个是NP完全的;计算哈密顿环的数量是#P完全的。如果要求网格图的顶点形成一个m×n的矩形,则我们证明当边是定向的或允许移除某些边时,哈密顿性仍保持ASP完全(而包括所有无向边已知是容易的)。这些结果使我们能够开发一个更强的“T-元胞”框架来证明矩形谜题的ASP完全性,该框架只需要构建一个单一的装置来代表一个度数为3的网格图顶点。我们应用这一通用理论来证明38种纸笔谜题的ASP完全性,这些谜题的目标是根据给定的约束条件绘制一个回路:Slalom,Onsen-meguri,Mejilink,Detour,Tapa-Like Loop,Kouchoku,Icelom;Masyu,Yajilin,Nagareru,Castle Wall,Moon or Sun,Country Road,Geradeweg,Maxi Loop,Mid-loop,Balance Loop,Simple Loop,Haisu,Reflect Link,Linesweeper;Vertex/Touch Slitherlink,Dotchi-Loop,Ovotovata,Building Walk,Rail Pool,Disorderly Loop,Ant Mill,Koburin,Mukkonn Enn,Rassi Silai,(Crossing) Ichimaga,Tapa,Canal View,Aqre,and Paintarea。最后14种谜题之前甚至不知道是NP难的。在此过程中,我们证明了某些简单的树残差顶点破坏(TRVB)形式的ASP完全性,包括具有度数6可破坏顶点的平面多重图,或具有度数4可破坏和度数1不可破坏顶点的图。
英文摘要:
We prove that Hamiltonicity in maximum-degree-3 grid graphs (directed or undirected) is ASP-complete, i.e., it has a parsimonious reduction from every NP search problem (including a polynomial-time bijection between solutions). As a consequence, given k Hamiltonian cycles, it is NP-complete to find another; and counting Hamiltonian cycles is #P-complete. If we require the grid graph's vertices to form a full $m \times n$ rectangle, then we show that Hamiltonicity remains ASP-complete if the edges are directed or if we allow removing some edges (whereas including all undirected edges is known to be easy). These results enable us to develop a stronger "T-metacell" framework for proving ASP-completeness of rectangular puzzles, which requires building just a single gadget representing a degree-3 grid-graph vertex. We apply this general theory to prove ASP-completeness of 38 pencil-and-paper puzzles where the goal is to draw a loop subject to given constraints: Slalom, Onsen-meguri, Mejilink, Detour, Tapa-Like Loop, Kouchoku, Icelom; Masyu, Yajilin, Nagareru, Castle Wall, Moon or Sun, Country Road, Geradeweg, Maxi Loop, Mid-loop, Balance Loop, Simple Loop, Haisu, Reflect Link, Linesweeper; Vertex/Touch Slitherlink, Dotchi-Loop, Ovotovata, Building Walk, Rail Pool, Disorderly Loop, Ant Mill, Koburin, Mukkonn Enn, Rassi Silai, (Crossing) Ichimaga, Tapa, Canal View, Aqre, and Paintarea. The last 14 of these puzzles were not even known to be NP-hard. Along the way, we prove ASP-completeness of some simple forms of Tree-Residue Vertex-Breaking (TRVB), including planar multigraphs with degree-6 breakable vertices, or with degree-4 breakable and degree-1 unbreakable vertices.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。