A
A
avonar2012-01-14 14:17:53
Counts
avonar, 2012-01-14 14:17:53

graph theory

There is a graph, how to find a Hamiltonian path in it, or any other mini-route that intersects all vertices, the graph is different, but coplanar (when depicted on a plane, the edges do not intersect, in fact only neighboring vertices are connected), you need to find some kind of route to the minimum number of times to pass through the same vertices.
Z.s. I forgot the most important thing, the algorithm should work from any vertex of the graph

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
osby, 2012-01-14
@osby

It seems to be the Traveling Salesman Problem

C
Cthutq66a, 2012-01-14
@Cthutq66a

If you need a Hamiltonian cycle (chain), then there is only a search with a return. But “the minimum number of times to pass through the same vertices”, here, probably, we must first try to find a Hamiltonian cycle (chain), and then increase the max. possible number of occurrences of vertices.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question