Cooks Theorem 1
Cooks Theorem 1
Steven Skiena
Department of Computer
Science State University of New
York Stony Brook, NY
11794–4400
http://www.cs.sunysb.edu/∼skiena
Prove that Hamiltonian Path is NP-complete.
k-1
selector vertices
Stop
head
-3 -2 -1 0 1 2 3 4 5
TAPE
So, where are we?
S[i, j, k] 0 ≤ i ≤ p(n) At
time i, the contents of
−p(n) ≤ j ≤ p(n) + 1 tape square j is symbol Sk
0≤k≤v