<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Hamiltonian path problem - Page 4 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Hamiltonian_path_problem&amp;p=3">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Hamiltonian_path_problem&amp;p=5">3.Next</a>
</p>
<p>and <a href="page.php?w=Richard_M._Karp">Richard Karp's</a> list of <a href="page.php?w=Karp%27s_21_NP-complete_problems">21 NP-complete problems</a>.</p>

<p><big> Reductions </big></p>
<p><big> Reduction from the path problem to the cycle problem </big></p>
<p>The problems of finding a Hamiltonian path and a Hamiltonian cycle can be related as follows:</p>

<p>
* In one direction, the Hamiltonian path problem for graph G can be related to the Hamiltonian cycle problem in a graph H obtained from G by adding a new <a href="page.php?w=universal_vertex">universal vertex</a></p><p>
<a accesskey="1" href="page.php?w=Hamiltonian_path_problem&amp;p=3">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Hamiltonian_path_problem&amp;p=5">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
