370 likes | 998 Views
Complexity of Games & Puzzles [Demaine, Hearn & many others] Rengo Kriegspiel? unbounded EXPTIME Undecidable PSPACE PSPACE bridge? bounded NP PSPACE P NEXPTIME team, imperfect info 0 players (simulation) 1 player (puzzle) 2 players (game) Constraint Logic [Hearn & Demaine 2009]
E N D
Complexity of Games & Puzzles[Demaine, Hearn & many others] Rengo Kriegspiel? unbounded EXPTIME Undecidable PSPACE PSPACE bridge? bounded NP PSPACE P NEXPTIME team,imperfect info 0 players (simulation) 1 player (puzzle) 2 players (game)
Constraint Logic[Hearn & Demaine 2009] unbounded EXPTIME Undecidable PSPACE PSPACE bounded PSPACE NP P NEXPTIME team,imperfect info 0 players (simulation) 1 player (puzzle) 2 players (game)
Constraint Graphs Machine = graph,red & blue edges
Constraint Graphs Machine state = orientation constraint graph
Constraint Logic = 1 1 1 = 2 2 Rule: at least 2 unitsincoming at a vertex Move: reverse an edge, preserving Rule
AND vertex T F T F T T inputs 1 1 1 1 2 output F T Rule: at least 2 unitsincoming at a vertex not your usualAND gate!
SPLIT vertex T T F F F outputs 1 1 1 2 input T F Rule: at least 2 unitsincoming at a vertex
OR vertex T F F T T T inputs 2 2 2 2 2 output T F T Rule: at least 2 unitsincoming at a vertex not your usualOR gate!
Decision Problem can you reverse this edge?
Constraint Logic[Hearn & Demaine 2009] unbounded EXPTIME Undecidable PSPACE PSPACE bounded PSPACE NP P NEXPTIME team,imperfect info 0 players (simulation) 1 player (puzzle) 2 players (game)
Decision Problem can you reverse this edge? Theorem: PSPACE-complete
Sliding-BlockPuzzles http://www.cs.brandeis.edu/~storer/JimPuzzles/ZPAGES/zzzDadsPuzzler.html
Sliding-Block Puzzles[Hearn & Demaine 2002] Corollary: PSPACE-complete
Sliding-Block Puzzles[Hearn & Demaine 2002] Corollary: PSPACE-complete
Wiring Vertices Together AND 1 AND wants red OR wants blue 2 OR
Red-Blue Conversion assume an even number of conversions
Red-Blue Conversion assume an even number of conversions
Quantified Boolean Formulas (QBF) x x y y w w z z
Latch A un locked B
Rush Hour[Hearn & Demaine 2002] PSPACE-completeness known [Flake & Baum 2002]
TriangularRush Hour [Hearn & Demaine 2009]
Open: 1×1 Rush Hour[Tromp & Cilibrasi 2008] • P or PSPACE-complete or …?
Sokoban[Hearn & Demaine 2002] PSPACE-completeness known [Culberson 1998]
Constraint Logic[Hearn & Demaine 2009] unbounded EXPTIME Undecidable PSPACE PSPACE bounded PSPACE NP P NEXPTIME team,imperfect info 0 players (simulation) 1 player (puzzle) 2 players (game)
Constraint Logic[Hearn & Demaine 2009] unbounded EXPTIME Undecidable PSPACE PSPACE bounded PSPACE NP P NEXPTIME team,imperfect info 0 players (simulation) 1 player (puzzle) 2 players (game)
Amazons[Hearn 2005] fanout