PSPACE-completeness of sliding-block puzzles and other problems through the nondeterministic constraint logic model of computation

被引:165
作者
Hearn, RA [1 ]
Demaine, ED [1 ]
机构
[1] MIT, Comp Sci & Artificial Intelligence Lab, Cambridge, MA 02139 USA
关键词
combinatorial puzzles; sliding blocks; computational complexity; hardness;
D O I
10.1016/j.tcs.2005.05.008
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present a nondeterministic model of computation based on reversing edge directions in weighted directed graphs with minimum in-flow constraints on vertices. Deciding whether this simple graph model can be manipulated in order to reverse the direction of a particular edge is shown to be PSPACE-complete by a reduction from Quantified Boolean Formulas. We prove this result in a variety of special cases including planar graphs and highly restricted vertex configurations, some of which correspond to a kind of passive constraint logic. Our framework is inspired by (and indeed a generalization of) the "Generalized Rush Hour Logic" developed by Flake and Baum [Theoret. Comput. Sci. 270(1-2) (2002) 895]. We illustrate the importance of our model of computation by giving simple reductions to show that several motion-planning problems are PSPACE-hard. Our main result along these lines is that classic unrestricted sliding-block puzzles are PSPACE-hard, even if the pieces are restricted to be all dominoes (I x 2 blocks) and the goal is simply to move a particular piece. No prior complexity results were known about these puzzles. This result can be seen as a strengthening of the existing result that the restricted Rush Hour (TM) puzzles are PSPACE-complete [Theoret. Comput, Sci. 270(1-2) (2002) 895], of which we also give a simpler proof. We also greatly strengthen the conditions for the PSPACE-hardness of the Warehouseman's Problem [Int. J. Robot. Res. 3(4) (1984) 76.], a classic motion-planning problem. Finally, we strengthen the existing result that the pushing-blocks puzzle Sokoban is PSPACE-complete [In: Proc. Internat. Conf. on Fun with Algorithms, Elba. Italy, June 1998, pp. 65-76.], by showing that it is PSPACE-complete even if no barriers are allowed. (c) 2005 Elsevier B.V. All rights reserved.
引用
收藏
页码:72 / 96
页数:25
相关论文
共 13 条
  • [1] [Anonymous], 1979, Computers and Intractablity: A Guide to the Theoryof NP-Completeness
  • [2] [Anonymous], 1976, Proceedings of the 8th Symposium on Theory of Computing (STOC)
  • [3] BODLAENDER H, 2001, REGROGRADE CHESS NP
  • [4] CULBERSON J, 1998, P INT C FUN ALG ELB, P65
  • [5] Demaine ED, 2001, LECT NOTES COMPUT SC, V2136, P18
  • [6] Rush Hour is PSPACE-complete, or "Why you should generously tip parking lot attendants"
    Flake, GW
    Baum, EB
    [J]. THEORETICAL COMPUTER SCIENCE, 2002, 270 (1-2) : 895 - 911
  • [7] ON THE COMPLEXITY OF MOTION PLANNING FOR MULTIPLE INDEPENDENT OBJECTS - PSPACE-HARDNESS OF THE WAREHOUSEMANS PROBLEM
    HOPCROFT, JE
    SCHWARTZ, JT
    SHARIR, M
    [J]. INTERNATIONAL JOURNAL OF ROBOTICS RESEARCH, 1984, 3 (04) : 76 - 88
  • [8] HORDEM E, 1986, SLIDING PIECE PUZZLE
  • [9] Savitch Walter J., 1970, Journal of Computer and System Sciences, V4, P177, DOI [10.1016/S0022-0000(70)80006-X, DOI 10.1016/S0022-0000(70)80006-X]
  • [10] Steinitz E., 1934, Vorlesungen uber die Theorie der Polyeder