Show the NP completeness of Hamiltonian Path with the knowledge of an directed Euler graph

365 Views Asked by At

I'm interested in the idea behind a NP completeness problem. It should be checked that Hamiltonian Path is in NP. As an indication, the problem Euler graph is in NP.

Definition of Euler graph: An Euler graph is defined by the fact that there is a circular path through a directed graph that touches every edge exactly once.

At this point, we could now take a simple directed graph, as in Figure 1. Here the Euler circle is easy to spot, even the Hamiltonian Path is easy to see. But let's look at a slightly more complicated case, shown in Figure 2. Here you can also see the Eulergraph, the HP is not possible. Or at least an HP would not touch every node once, but several times.

enter image description here

So the idea should be to transform an Euler graph into another directed graph so that its property is preserved, but still an HP is possible?

I would be interested in your opinions now, how would you show HP's NP completeness by knowing that Eulergraph is in NP?

Thanks for your interest!