arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1603.00928cs.CC
收藏

训练场是NP难的

Trainyard is NP-Hard

Matteo Almanza, Stefano Leucci, Alessandro Panconesi

摘要:

最近,由于智能手机的广泛普及,移动益智游戏在其受欢迎程度上经历了巨大的增长。一个成功的谜题必须既迷人又具有挑战性,有人认为这些特征与它们的计算复杂性\cite{Eppstein}有关。事实上,许多益智游戏--例如麻将、推箱子、糖果粉碎和2048,仅举几例--都是NP难的\cite{CondonFLS97, culberson1999sokoban, GualaLN14, Mehta14a}。在本文中,我们认为Trainyard:一个流行的手机益智游戏,其目标是让彩色列车从他们的初始站到合适的目的地站。我们证明了问题的确定是否存在一个解决方案,以一个给定的Trainyard水平是NP难的。我们还实施了\href{http://trainyard.isnphard.com}{provide}硬度降低。

英文摘要:

Recently, due to the widespread diffusion of smart-phones, mobile puzzle games have experienced a huge increase in their popularity. A successful puzzle has to be both captivating and challenging, and it has been suggested that this features are somehow related to their computational complexity \cite{Eppstein}. Indeed, many puzzle games --such as Mah-Jongg, Sokoban, Candy Crush, and 2048, to name a few-- are known to be NP-hard \cite{CondonFLS97, culberson1999sokoban, GualaLN14, Mehta14a}. In this paper we consider Trainyard: a popular mobile puzzle game whose goal is to get colored trains from their initial stations to suitable destination stations. We prove that the problem of determining whether there exists a solution to a given Trainyard level is NP-hard. We also \href{http://trainyard.isnphard.com}{provide} an implementation of our hardness reduction.

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

↑