I have read it a lot about that but I am still confusing how to find out if it is Hamilton graph or not. I have check here some similar examples but I was not able to understand it.
I know that a graph to be Hamilton it needs to do from one "starting" point we put to do all the graph until the end which is our "starting" point.
I have created those on a paper please help understand if those are Hamilton or not.
For these Graphs
Here I have created1and2as you can see graphs. As I have seen, if a graph has inside another circuit, then it is not a Hamilton. Is this right? As a result if there are similar like those with in, inside a "circle lets call it" then it is not a Hamilton graph?
And, for these Graphs
With3and4, I am thinking to do a start point in an edge and to do all the graph until I end again on the "start point" but I see it that it is not happening. So my question is, are those Hamilton or not? My thought is that those3and4graphs are not Hamilton. If these are not Hamilton, how to understand it? (is this the way?). In the other hand if we want to make those Hamilton (if those are not) what should exactly need to change?






The OP wants a Hamiltonian cycle, that is easy, for instance computing (using Mathematica):
For an arbitrary graph
h, simply compute:If such a cycle exists, it will be returned. If not, the set of edges will be empty.
Here's a more complicated case: