仅用一种积木类型时的Tetris难度极高
Tetris is Hard with Just One Piece Type
AI总结:
研究证明,仅使用一种积木类型时Tetris清屏和生存问题在标准旋转系统下为NP难,同时提出在特定条件下多项式时间算法解决相关问题。
摘要:
我们分析了在仅使用一种多连块类型时,Tetris清屏(确定玩家能否使用给定的积木序列清空初始棋盘)和生存(确定玩家能否在放置所有给定积木前避免失败)的计算复杂性。我们证明,对于任何除O型以外的四连块类型P,即使输入序列仅包含指定数量的P型积木,在标准超级旋转系统(SRS)下,Tetris清屏和生存都是NP难的。这些令人惊讶的结果推翻了一个已有23年历史的关于仅使用I型积木的Tetris计算复杂性的猜想(尽管我们的结果仅针对特定旋转系统)。作为推论,我们证明当积木序列必须能从7k-袋随机器生成时,Tetris清屏的NP难性。在积极方面,我们给出了仅使用多米诺时Tetris清屏和生存的多项式时间算法,假设特定的旋转模型,解决了一个9年前的开放问题。在过程中,我们给出了在顶部k-1行初始为空的情况下,使用1×k型积木的Tetris清屏和生存的多项式时间算法,表明我们的I型NP难性结果需要顶部三行有填充的单元格。
英文摘要:
We analyze the computational complexity of Tetris clearing (determining whether the player can clear an initial board using a given sequence of pieces) and survival (determining whether the player can avoid losing before placing all the given pieces in an initial board) when restricted to a single polyomino piece type. We prove, for any tetromino piece type $P$ except for O, the NP-hardness of Tetris clearing and survival under the standard Super Rotation System (SRS), even when the input sequence consists of only a specified number of $P$ pieces. These surprising results disprove a 23-year-old conjecture on the computational complexity of Tetris with only I pieces (although our result is only for a specific rotation system). As a corollary, we prove the NP-hardness of Tetris clearing when the sequence of pieces has to be able to be generated from a $7k$-bag randomizer for any positive integer $k\geq 1$. On the positive side, we give polynomial-time algorithms for Tetris clearing and survival when the input sequence consists of only dominoes, assuming a particular rotation model, solving a version of a 9-year-old open problem. Along the way, we give polynomial-time algorithms for Tetris clearing and survival with $1\times k$ pieces (for any fixed $k$), provided the top $k-1$ rows are initially empty, showing that our I NP-hardness result needs to have filled cells in the top three rows.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。