+ All Categories
Home > Documents > PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf ·...

PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf ·...

Date post: 12-Aug-2020
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
16
Transcript
Page 1: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.
Presenter
Presentation Notes
http://courses.csail.mit.edu/6.892/spring19/
Page 2: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

W. H. Freeman1979

Presenter
Presentation Notes
http://www.amazon.com/Computers-Intractability-NP-Completeness-Mathematical-Sciences/dp/0716710455/
Page 3: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

A K PetersJuly 2009

translated byRyuhei Uehara

Presenter
Presentation Notes
http://erikdemaine.org/papers/GPC/
Page 4: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

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 5: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

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/
Page 6: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

Hamiltonian 𝒔𝒔, 𝒕𝒕 -Path

𝑣𝑣0 𝑣𝑣2 𝑣𝑣4

𝑣𝑣1

𝑣𝑣3

𝑠𝑠

𝑡𝑡𝑣𝑣0 𝑣𝑣2 𝑣𝑣4

𝑣𝑣1

𝑣𝑣3

𝑠𝑠

𝑡𝑡

input goal

Page 7: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

100% Speedrun is NP-hard: MarioThe Lost Levels

Page 8: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

Speedrun is NP-hard: Zelda

Presenter
Presentation Notes
https://zelda.fandom.com/wiki/Small_Key
Page 9: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

Speedrun is NP-hard: Metroidvania

Page 10: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

Speedrun is NP-hard: RPG

Page 11: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

Playing is NP-hard: Katamari

Page 12: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

Edge-Matching Puzzles[1890s—]

Presenter
Presentation Notes
http://pdfpiw.uspto.gov/.piw?Docid=00487798
Page 13: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

photo by Matěj Baťha

[Christopher Monckton, 2007]US$2,000,000 prize (expired 2010)

Presenter
Presentation Notes
https://en.wikipedia.org/wiki/Eternity_II_puzzle (CC BY-SA image: https://en.wikipedia.org/wiki/Eternity_II_puzzle#/media/File:Eternity_II_1.jpg)
Page 14: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

NP-hardness of 𝟏𝟏 × 𝒏𝒏 Edge Matching

Reduction from Hamiltonian pathwith specified start 𝑠𝑠 & end vertex 𝑡𝑡

vertextile

edgetile

𝑣𝑣0 𝑣𝑣2 𝑣𝑣4

𝑣𝑣1

𝑣𝑣3

𝑠𝑠

𝑡𝑡

𝑠𝑠

𝑡𝑡

Bosboom, Demaine, Demaine, Hesterberg, Manurangsi, Yodpinyanee 2017

Presenter
Presentation Notes
http://erikdemaine.org/papers/Jigsaw1xn_JIP/
Page 15: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

NP-hardness of 𝟏𝟏 × 𝒏𝒏 Edge Matching

or

𝐼𝐼𝑖𝑖 𝑂𝑂𝑖𝑖𝑈𝑈𝑖𝑖

𝑈𝑈𝑖𝑖𝐼𝐼𝑛𝑛𝑈𝑈𝑛𝑛

𝑈𝑈𝑛𝑛

𝑣𝑣𝑖𝑖 𝑡𝑡 = 𝑣𝑣𝑛𝑛𝑠𝑠 = 𝑣𝑣1

𝑣𝑣𝑖𝑖 ,𝑣𝑣𝑗𝑗 𝑣𝑣𝑖𝑖 ,𝑣𝑣𝑗𝑗

𝑂𝑂𝑖𝑖 𝐼𝐼𝑗𝑗𝑂𝑂𝑖𝑖

𝐼𝐼𝑗𝑗

Presenter
Presentation Notes
http://erikdemaine.org/papers/Jigsaw1xn_JIP/
Page 16: PowerPoint Presentationcourses.csail.mit.edu/6.892/spring19/lectures/C01_images.pdf · 2019-02-06 · NP-hardness of . 𝟏𝟏×𝒏𝒏. Edge Matching. or. 𝐼𝐼. 𝑖𝑖. 𝑂𝑂.

NP-hardness

vertextile

edgetile

𝑣𝑣0 𝑣𝑣2 𝑣𝑣4

𝑣𝑣1

𝑣𝑣3

𝑠𝑠

𝑡𝑡

𝑠𝑠

𝑡𝑡

Bosboom, Demaine, Demaine, Hesterberg, Manurangsi, Yodpinyanee 2017

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

Recommended