next up previous
Next: Up: Previous:

Hamiltonian Cycle Problem

A Hamiltonian Cycle is a simple cycle in a graph going through each vertex exactly once.

HC = { $\langle$ G $\rangle \vert$ G has a Hamiltonian cycle}

HC $\in$ NPC

Proof:

1.
Done earlier.
2.
L' = 3-CNF-SAT
3.
3-CNF-SAT \(\leq_P\) HC
4.
x $\in$ 3-CNF-SAT $\leftrightarrow$ f(x) $\in$ HC
Proof is complex.


next up previous
Next: Up: Previous: