flâneur — a map of the web's best reading

Hamiltonian path problem - Wikipedia

en.wikipedia.org · 2,843 words · saved by 1 readers

The Hamiltonian path problem is a topic discussed in the fields of complexity theory and graph theory. It decides if a directed or undirected graph, G, contains a Hamiltonian path, a path that visits every vertex in the graph exactly once. The problem may specify the start and end of the path, in which case the starting vertex s and ending vertex t must be identified.[1] The Hamiltonian cycle problem is similar to the Hamiltonian path problem, except it asks if a given graph contains a Hamiltonian cycle. This problem may also specify the start of the cycle. The Hamiltonian cycle problem is a special case of the travelling salesman problem, obtained by setting the distance between two cities to one if they are adjacent and two otherwise, and verifying that the total distance travelled is equal to n. If so, the route is a Hamiltonian cycle. The Hamiltonian path problem and the Hamiltonian cycle problem belong to the class of NP-complete problems, as shown in Michael Garey and David S. Jo

Hamiltonian path problem - Wikipedia Jump to content From Wikipedia, the free encyclopedia Problem of finding a cycle through all vertices of a graph This article is about the specific problem of determining whether a Hamiltonian path or cycle exists in a given graph. For the general graph theory concepts, see Hamiltonian path . The Hamiltonian path problem is a topic discussed in the fields of complexity theory and graph theory . It decides if a directed or undirected graph , G , contains a Hamiltonian path , a path that visits every vertex in the graph exactly once. The problem may specify t

Explore this link on the map →

related reading