You get a bonus - 1 coin for daily activity. Now you have 1 coin

Hamilton graph

Lecture




  Hamilton graph

The Hamiltonian line for the dodecahedron proposed by Hamilton to replace his “around the world” game on the dodecahedron with a problem for a planar graph.

Hamiltonian graph is a mathematical object of graph theory. It is a graph (a set of points and lines connecting them), which contains the Hamiltonian cycle [1] . In this case, the Hamiltonian cycle is such a cycle (closed path), which contains all the vertices (points) of this graph [2] .

Also, the concept of the Hamiltonian path is closely related to the Hamilton graph, which is a simple path (a path without loops) that passes through each vertex of the graph exactly once [1] . Hamiltonian path differs from the cycle in that the path of the start and end points may not coincide, unlike the cycle. The Hamiltonian cycle is the Hamiltonian path.

The Hamiltonian path, cycle and graph are named after the Irish mathematician W. Hamilton, who first defined these classes by examining the “round-the-world travel” task of the dodecahedron. In this task, the tops of the dodecahedron symbolized famous cities, such as Brussels, Canton, Delhi, Frankfurt, etc., and the edges - the roads connecting them. The traveler must pass "around the world", finding a path that passes through all the peaks exactly once [3] . To make the task more interesting, the order of passing cities was established in advance. And to make it easier to remember which cities are already connected, a nail was hammered into each vertex of the dodecahedron, and the paved path was marked with a small rope that could be wrapped around the nail. However, this construction was too cumbersome, and Hamilton proposed a new version of the game, replacing the dodecahedron with a flat graph isomorphic to the graph built on the edges of the dodecahedron [4] .

Content

  • 1 Conditions of existence
  • 2 search algorithm
    • 2.1 Heuristic optimizations
  • 3 Examples of use
    • 3.1 Cryptography
    • 3.2 Extremal problems of graph theory: The traveling salesman problem
  • 4 Related Terms
  • 5 See also
  • 6 Notes
  • 7 Literature
  • 8 References

Conditions of existence

A necessary condition for the existence of a Hamiltonian path in an undirected graph : if an undirected graph G contains a Hamiltonian cycle, then there is not a single vertex in it   Hamilton graph with a local degree   Hamilton graph . The proof follows from the definition.

Posha condition: Let graph G have   Hamilton graph vertices. If for everyone   Hamilton graph ,   Hamilton graph , the number of vertices with powers greater than or equal to n is less than n, and for odd   Hamilton graph number of vertices with degree   Hamilton graph does not exceed   Hamilton graph , then G is a Hamiltonian graph. This sufficient condition is not necessary [5] .

As a consequence of the Posch theorem, we obtain simpler and less strong sufficient conditions found by Dirac and Ore.

In 1952, the Dirac condition of the existence of the Hamiltonian path was formulated:   Hamilton graph - the number of vertices in this graph and   Hamilton graph ; if the degree of each vertex is not less than   Hamilton graph then this graph is Hamiltonian [6] .

Main article: Ore Theorem

Ore condition : let   Hamilton graph - the number of vertices in the graph and   Hamilton graph . If for any pair of nonadjacent vertices   Hamilton graph inequality fulfilled   Hamilton graph then this graph is Hamiltonian (in other words: the sum of the degrees of any two non-adjacent vertices is not less than the total number of vertices in the graph) [6] .

The Bondi-Hvatala theorem summarizes the statements of Dirac and Ore. For a graph G with n vertices, the closure is determined by adding an edge ( u , v ) to G for each pair of non-adjacent vertices u and v whose sum of degrees is at least n [7] (in other words: a graph is Hamiltonian if and only if its closure - Hamilton graph).

Search algorithm

Heuristic optimizations

With a direct enumeration of vertex variants, it is possible to significantly increase the average complexity of finding the Hamiltonian path on random graphs (if the Hamiltonian path in the graph is guaranteed). To improve this method, it is possible at each iteration step with a certain part of the chain to check whether the remaining vertices form a connected graph (if they do not form, then the chain cannot be the beginning of the Hamiltonian chain); at each step of the search, when selecting the next vertex, try first the vertices with the lowest residual degree (the number of edges leading to the not yet visited vertices). In addition, if this tree is a chain, then a Hamiltonian cycle is possible in it. Otherwise (if there are vertices in the tree with degree not less than 3) the construction of the Hamiltonian cycle is impossible.

Examples of use

Cryptography [edit]

Hamiltonian cycle is used in the system of so-called protocols with zero resolution .

Let Marc and Vadim know the same Hamiltonian graph G, and Marc knows the Hamiltonian cycle in it. He wants to prove it to Vadim, without revealing to him the cycle itself. There is an algorithm for how it should act [8] :

1. Mark randomly transforms the graph G. Moving the points and changing their labels, he creates a new graph H, topologically isomorphic to G. Then, knowing the Hamiltonian cycle in G, he will easily find it in H. If he does not create H himself, then the definition isomorphism between graphs is too difficult task, the solution of which requires a huge amount of time. He then encrypts H and gets the graph H / .

2. Mark transmits to Vadim H / .

3. Vadim asks Mark either:

  1. Prove that H / is an encrypted isomorphic copy of G, or
  2. Show Hamiltonian cycle for H.

4. Mark fulfills his request. He either:

  1. Proves that H / is an encrypted isomorphic copy of G, revealing the transformations and decoding everything, not showing the Hamiltonian cycle for G or H, or
  2. Shows the Hamiltonian cycle for H, deciphering only what forms the Hamiltonian cycle, without proving that H and G are topologically isomorphic.

5. Mark and Vadim repeat steps 1 - 4 n times.

If Mark is not deceiving, then he will be able to tell Vadim one of the evidence in step 3. However, if he does not know the Hamiltonian cycle for G, he will not be able to create H / satisfying both proofs. True, Mark can create either a graph isomorphic to G, or a graph with the same number of vertices and edges and a regular Hamiltonian cycle. And, although with a probability of 50% he can guess what evidence Vadim asks at stage 3, Vadim can repeat the protocol a sufficient number of times until he is convinced that Mark knows the Hamiltonian cycle in G.

Extreme problems of graph theory: The traveling salesman problem

A salesman needs to visit each city within a certain territory and return to the point of departure. It is required that the path be as short as possible. Thus, the original task is transformed into the task of finding the minimum length (duration or cost) [9] .

The task can be reformed in terms of graph theory - to construct such a graph G (X, A), the vertices of which correspond to cities, and the edges to communications between cities. The solution to this problem is sought among the Hamiltonian cycles of the constructed graph.

There are many ways to solve this problem. We can distinguish methods developed by Bellmore and Nemhauser [10] , Garfinkel and Nemhauser [11] , Held and Karp [12] , and Stekhan [13] . Also known solutions of the traveling salesman problem are the branch and bound method and the method of sequential improvement of the solution [14] .

Related Terms

  Hamilton graph

Hamilton dedicated loop dodecahedron graph

A semi-Hamiltonian [15] graph is a graph containing a simple chain passing through each of its vertices. Moreover, every Hamiltonian graph is semi-Hamiltonian. The Hamiltonian cycle is a simple spanning cycle [16] .

The essence of the Hamiltonian cycle problem is to find out whether the given graph G has Hamiltonian cycle. This task is an NP-complete [17] .

The Hamiltonian orchain of the digraph [18] is a simple chain that passes through each vertex of the digraph exactly once.

The Hamiltonian orcyc [18] is called the ortsikl [18] of the digraph that passes through each of its vertices, is called .

An orgraph is called semi-Hamiltonian [18] if it has a Hamiltonian orchain, and a Hamiltonian [18] if it has a Hamiltonian orcyclic ring.

See also

  • Euler cycle
  • The task of the progress of the horse
  • The problem of the seven bridges of Königsberg
  • Wall of China (puzzle)
  • Tournament (graph theory)
  • Greedy algorithm

Notes

  1. 1 2 M. O. Asanov, V. A. Baransky, V. V. Rasin Discrete Mathematics: Graphs, Matroids, Algorithms. - Izhevsk: NSC "Regular and chaotic dynamics", 2001. - P. 41. - ISBN 5-93972-076-5.
  2. M. Swami, K. Tkhulasiraman Graphs, networks and algorithms. - Moscow: Mir, 1984. - p. 55.
  3. F. Harari Graph Theory. - Moscow, pr-t of the 60th anniversary of October, 9: Editorial URSS, 2003. - p. 16-17.
  4. O. Ore Graphs and their application. - Moscow: World, 1965. - p. 40-41.
  5. F. Harari Graph Theory. - the second. - Moscow: URSS, 2003. - p. 86. - ISBN 5-354-00301-6.
  6. 1 2 F. Harari Graph Theory. - Moscow: URSS, 2003. - p. 87. - ISBN 5-354-00301-6.
  7. Swami M., Tkhulasiraman K. Graphs, networks and algorithms .. - Moscow: Mir, 1984. - P. 61.
  8. Bruce Schneier Applied Cryptography. - "Triumph", 2002. - p. 89-90.
  9. E. Maynika Optimization algorithms on networks and graphs. - Moscow: Mir, 1981. - p. 241-264.
  10. More Bellmore M., Nemhuser GL The Traveling Problem: A. Survey. - ORSA vol. 16, 1968. - p. Pp 538-558.
  11. Garfinkel R., Namhauser GL Integer Programming. - New York: John Wiley, Inc., 1972. - C. pp 354-360.
  12. Held M., Karp R. The Traveling Problem and Minimum Spanning Trees, Part II. - Math. Programming, vol. 1, No., 1971. - S. pp. 6-25.
  13. Steckhan HA Theorem on Symmetric Traveling Salesman Problems. - ORSA, vol. 18, 1970. - C. pp. 1163-1167.
  14. E. Maynika Optimization algorithms on networks and graphs. - Moscow: Mir, 1981. - p. 255-264.
  15. Wilson I.R., Eddyman A.M. A practical introduction to Pascal. - Moscow: Radio and communication, 1983. - p. 143.
  16. W. Tutt Graph Theory. - Moscow: Mir, 1988. - p. 26. - ISBN 5-03-001001-7.
  17. T. Cormen, C. Lazerson, R. Rivest Algorithms. Construction and analysis. - Moscow: MCNMO, 2002. - p. 845-846.
  18. 1 2 3 4 5 B. A. Dolgikh, A. A. Petrenko Discrete Mathematics. - Moscow, 2007. - P. 126. - ISBN 978-5-276-01103-5.

Literature

  • B. Schneier Applied Cryptography. Protocols, algorithms and source texts in the C language. - Triumph, 2002.
  • K. Berg Graph Theory and its Applications. - Moscow: Foreign Literature, 1962.
  • R. Wilson Introduction to graph theory. - Moscow: World, 1977.
  • W. Tutt Graph Theory. - Moscow: Peace. - T. 1988.
  • N. Christofides Theory of Counts. - Moscow: World, 1978.
  • B. A. Dolgikh, A. A. Petrenko Discrete Mathematics. - Moscow, 2007. - P. 126. - ISBN 978-5-276-01103-5.

created: 2014-11-01
updated: 2021-03-13
604



Rating 9 of 10. count vote: 2
Are you satisfied?:



Comments


To leave a comment
If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Discrete Math. Set theory. Graph theory. Combinatorics.

Terms: Discrete Math. Set theory. Graph theory. Combinatorics.