powerpoint presentationcourses.csail.mit.edu/6.890/fall14/lectures/l01_images.pdf · rush hour is...

21

Upload: others

Post on 26-Mar-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀
Presenter
Presentation Notes
http://courses.csail.mit.edu/6.890/fall14/
Page 2: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀
Presenter
Presentation Notes
Page 1 of http://courses.csail.mit.edu/6.890/fall14/lectures/L01.pdf
Page 3: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

W. H. Freeman1979

Presenter
Presentation Notes
http://www.amazon.com/Computers-Intractability-NP-Completeness-Mathematical-Sciences/dp/0716710455/
Page 4: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

A K PetersJuly 2009

translated byRyuhei Uehara

Presenter
Presentation Notes
http://erikdemaine.org/papers/GPC/
Page 5: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀
Presenter
Presentation Notes
http://arxiv.org/abs/1203.1895
Page 6: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

Super Mario Bros. is NP-Hard[Aloupis, Demaine, Guo 2012]

The Lost Levels

Presenter
Presentation Notes
http://arxiv.org/abs/1203.1895
Page 7: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

Super Mario Bros. is NP-Hard[Aloupis, Demaine, Guo 2012]

variable

clause

Presenter
Presentation Notes
http://arxiv.org/abs/1203.1895
Page 8: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

Super Mario Bros. is NP-Hard[Aloupis, Demaine, Guo 2012]

variable

clause

Super Mario Bros. 3

Presenter
Presentation Notes
http://arxiv.org/abs/1203.1895
Page 9: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

Super Mario Bros. is NP-Hard[Aloupis, Demaine, Guo, Viglietta 2014]

Super Mario Bros.

clause

Presenter
Presentation Notes
http://arxiv.org/abs/1203.1895
Page 10: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

Super Mario Bros. is NP-Hard[Aloupis, Demaine, Guo, Viglietta 2014]

𝑥𝑥 OR ¬𝑦𝑦 OR 𝑧𝑧 & 𝑥𝑥 OR 𝑦𝑦 OR ¬𝑦𝑦 &(¬𝑥𝑥 OR ¬𝑦𝑦 OR ¬𝑧𝑧) & (¬𝑥𝑥 OR ¬𝑦𝑦 OR ¬𝑧𝑧)

Presenter
Presentation Notes
http://arxiv.org/abs/1203.1895
Page 11: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

Super Mario Bros. is NP-Hard[Aloupis, Demaine, Guo, Viglietta 2014]

crossover

Presenter
Presentation Notes
http://arxiv.org/abs/1203.1895
Page 12: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

Constraint Graphs

Machine = graph,red & blue edges

Presenter
Presentation Notes
http://erikdemaine.org/papers/GPC/
Page 13: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

Constraint Graphs

Machine state= orientation

constraint graph

Presenter
Presentation Notes
http://erikdemaine.org/papers/GPC/
Page 14: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

Constraint Logic

= 1

= 2

Rule: at least 2 unitsincoming at a vertex

1 1

2

Move: reverse an edge, preserving Rule

Presenter
Presentation Notes
http://erikdemaine.org/papers/GPC/
Page 15: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

AND vertex

1 11 1

2

T T

TF

F FTT

not your usualAND gate!

inputs

output

Rule: at least 2 unitsincoming at a vertex

Presenter
Presentation Notes
http://erikdemaine.org/papers/GPC/
Page 16: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

OR vertex

Rule: at least 2 unitsincoming at a vertex

2 22 2

2

T T

TF

F FTT

not your usualOR gate!

inputs

output

T

Presenter
Presentation Notes
http://erikdemaine.org/papers/GPC/
Page 17: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

Decision Problemcan you reverse this edge?

Presenter
Presentation Notes
http://erikdemaine.org/papers/GPC/
Page 18: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

Rush Hour is PSPACE-complete[Flake & Baum 2002; Hearn & Demaine 2002]

AND Protected OR

Presenter
Presentation Notes
Figure 9.24 of GPC. See http://erikdemaine.org/papers/NCL_TCS/ & http://www.sciencedirect.com/science/article/pii/S0304397501001736
Page 19: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

Rush Hour is PSPACE-complete[Flake & Baum 2002; Hearn & Demaine 2002]

Presenter
Presentation Notes
Figure 9.24 of GPC. See http://erikdemaine.org/papers/NCL_TCS/ & http://www.sciencedirect.com/science/article/pii/S0304397501001736
Page 20: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

Complexity of Games & Puzzles

0 players(simulation)

1 player(puzzle)

2 players(game)

team,imperfect info

NP

PSPACE EXPTIME

P

Undecidable

NEXPTIMEPSPACE

PSPACE

Rengo Kriegspiel?

bridge?

Presenter
Presentation Notes
http://erikdemaine.org/papers/GPC/
Page 21: PowerPoint Presentationcourses.csail.mit.edu/6.890/fall14/lectures/L01_images.pdf · Rush Hour is PSPACE-complete [Flake & Baum 2002; Hearn & Demaine 2002] Figure 9.24 of GPC.\爀匀攀攀

Constraint Logic[Hearn & Demaine 2009]

PSPACE EXPTIME

P

Undecidable

NEXPTIME

PSPACE

NPPSPACE

0 players(simulation)

1 player(puzzle)

2 players(game)

team,imperfect info

Presenter
Presentation Notes
http://erikdemaine.org/papers/GPC/