Thinking about if we modify the definition of Hamiltonian path as we need to go through every edge once,but can pass vertex any times,is there still an algorithm available? How should I modify the original Hamiltonian algorithm to account for this?
+3
A:
You're describing a Eulerian path. You can find such paths with Fleury's algorithm.
leson
2010-03-06 08:25:31