Hamiltonian cycle path finding



Hello, I have to write a simple program that would find all Hamiltonian
cycles in a graph. I could use the simplest algorithm with bactracing,
without any createria ( ok : the verticle musn't be already on a path).,
thus it makes just the version of DSF. The thing is, I would like to
implement a more complex version of this : if someone could post a criteria
for the backtracing which would be suitable to implement by the 3th grader
of CS it would be nice.... Cheers.


.



Relevant Pages

  • Re: How come Ada isnt more popular?
    ... The difference is between a) graph treated as a mesh of nodes which "own" each other and b) graph treated as a collection of nodes. ... The former might have ownership cycles between nodes, but not the latter, where ownership is an acyclic relation between graph and nodes. ... there is a strong argument is that for some class of algorithms it might be beneficial to be able to "drop on the floor" a bigger part of the graph altogether. ...
    (comp.lang.ada)
  • Elecsol batteries (again)
    ... Look at the graph at the bottom. ... D.O.D. means Depth of Discharge. ... cycles for various D.O.D.s between 50% and 100%. ... sense in that the deeper the discharge, the less life cycles each ...
    (uk.rec.waterways)
  • Re: Graph to regions algorithm
    ... > My problem is that I need an algorithm witch will construct all regions ... The graph is convex and convex. ... To find cycles in a graph, you compute the "minimum spanning tree". ...
    (comp.graphics.algorithms)
  • Re: Finding simple cycles approximating target distance
    ... >best solve the following problem relating graph theory. ... I expect result cycles will consist of about 10 ... Assuming the weights are all positive and you want the total weight ... in the interval, you can do a depth-first search using the ...
    (sci.math)
  • Re: CLP(FD) Prolog: help needed with a simple problem
    ... Consider an undirected graph G= ... I should include at least two constrains for each cycle. ... You can use these algorithms with weight 1 for each edge. ... constraints for cycles. ...
    (comp.lang.prolog)