Академический Документы
Профессиональный Документы
Культура Документы
Hamiltonian Path
Hamiltonian Path
Verifier
Verifier/Certificate
Verifier
NP
Hamiltonian Path
2.
3.
4.
NP
NTIME
NP Problem Examples
NP Problem Examples
Proof of CLIQUE
NP Problem Examples
NP vs. P
NP-Completeness
When
to B.
Satisfiability
Boolean Formula: = ( x y ) ( x z )
Satisfiability
10
3SAT
3SAT
3SAT
11
NP-Completeness
Cook-Levine Theorem
12
NP-Complete Problems
HAMPATH is NP-Complete.
13
NP-Complete Problems
Theorem:
VERTEX-COVER is NP-complete.
Theorem:
NP-Complete Problems
Theorem:
SUBSET-SUM is NP-complete.
Theorem:
Complete.
14
Example
Example
SOLITAIRENP since it can be verified that a
solution works in polynomial time.
Show that 3SAT P SOLITAIRE. Given with
m variables x1,,xm and k clauses c1, ,ck,
construct the following k x m game G.
Assume that has no clauses that contain
both xi and X because such clauses may be
removed without affecting satisfiability.
15
Example
Have
Example
16
SUBSET-SUM
VERTEX-COVER
HAMPATH
TSP
UHAMPATH
17