Zig-Zag Numberlink is NP-Complete
Zig-Zag Numberlink is NP-Complete
复制标题
DOI:
10.2197/ipsjjip.23.239
复制
发表时间:
2014-10
期刊:
影响因子:
--
通讯作者:
Aaron B. Adcock;E. Demaine;M. Demaine;Michael P. O’Brien;F. Reidl;Fernando Sánchez Villaamil;Blair D. Sullivan
中科院分区:
文献类型:
--
作者:
Aaron B. Adcock;E. Demaine;M. Demaine;Michael P. O’Brien;F. Reidl;Fernando Sánchez Villaamil;Blair D. Sullivan
When can $t$ terminal pairs in an $m \times n$ grid be connected by $t$ vertex-disjoint paths that cover all vertices of the grid? We prove that this problem is NP-complete. Our hardness result can be compared to two previous NP-hardness proofs: Lynch's 1975 proof without the ``cover all vertices'' constraint, and Kotsuma and Takenaga's 2010 proof when the paths are restricted to have the fewest possible corners within their homotopy class. The latter restriction is a common form of the famous Nikoli puzzle \emph{Numberlink}; our problem is another common form of Numberlink, sometimes called \emph{Zig-Zag Numberlink} and popularized by the smartphone app \emph{Flow Free}.