Hamiltonian path

A Hamiltonian cycle around a network of six vertices
Examples of Hamiltonian cycles on a square grid graph 8x8

In the mathematical field of graph theory, a Hamiltonian path (or traceable path) is a path in an undirected or directed graph that visits each vertex exactly once. A Hamiltonian cycle (or Hamiltonian circuit) is a cycle that visits each vertex exactly once. A Hamiltonian path that starts and ends at adjacent vertices can be completed by adding one more edge to form a Hamiltonian cycle, and removing any edge from a Hamiltonian cycle produces a Hamiltonian path. The computational problems of determining whether such paths and cycles exist in graphs are NP-complete; see Hamiltonian path problem for details.

Hamiltonian paths and cycles are named after William Rowan Hamilton, who invented the icosian game, now also known as Hamilton's puzzle, which involves finding a Hamiltonian cycle in the edge graph of the dodecahedron. Hamilton solved this problem using the icosian calculus, an algebraic structure based on roots of unity with many similarities to the quaternions (also invented by Hamilton). This solution does not generalize to arbitrary graphs.

Despite being named after Hamilton, Hamiltonian cycles in polyhedra had also been studied a year earlier by Thomas Kirkman, who, in particular, gave an example of a polyhedron without Hamiltonian cycles.[1] Even earlier, Hamiltonian cycles and paths in the knight's graph of the chessboard, the knight's tour, had been studied in the 9th century in Indian mathematics by Rudrata, and around the same time in Islamic mathematics by al-Adli ar-Rumi. In 18th century Europe, knight's tours were published by Abraham de Moivre and Leonhard Euler.[2]

Definitions

A Hamiltonian path or traceable path is a path that visits each vertex of the graph exactly once. A graph that contains a Hamiltonian path is called a traceable graph. A graph is Hamiltonian-connected if for every pair of vertices there is a Hamiltonian path between the two vertices.

A Hamiltonian cycle, Hamiltonian circuit, vertex tour or graph cycle is a cycle that visits each vertex exactly once. A graph that contains a Hamiltonian cycle is called a Hamiltonian graph.

Similar notions may be defined for directed graphs, where each edge (arc) of a path or cycle can only be traced in a single direction (i.e., the vertices are connected with arrows and the edges traced "tail-to-head").

A Hamiltonian decomposition is an edge decomposition of a graph into Hamiltonian circuits.

A Hamilton maze is a type of logic puzzle in which the goal is to find the unique Hamiltonian cycle in a given graph.[3][4]

Examples

Orthographic projections and Schlegel diagrams with Hamiltonian cycles of the vertices of the five platonic solids – only the octahedron has an Eulerian path or cycle, by extending its path with the dotted one

Properties

The Herschel graph is the smallest possible polyhedral graph that does not have a Hamiltonian cycle. A possible Hamiltonian path is shown.

Any Hamiltonian cycle can be converted to a Hamiltonian path by removing one of its edges, but a Hamiltonian path can be extended to a Hamiltonian cycle only if its endpoints are adjacent.

All Hamiltonian graphs are biconnected, but a biconnected graph need not be Hamiltonian (see, for example, the Petersen graph).[9]

An Eulerian graph G (a connected graph in which every vertex has even degree) necessarily has an Euler tour, a closed walk passing through each edge of G exactly once. This tour corresponds to a Hamiltonian cycle in the line graph L(G), so the line graph of every Eulerian graph is Hamiltonian. Line graphs may have other Hamiltonian cycles that do not correspond to Euler tours, and in particular the line graph L(G) of every Hamiltonian graph G is itself Hamiltonian, regardless of whether the graph G is Eulerian.[10]

A tournament (with more than two vertices) is Hamiltonian if and only if it is strongly connected.

The number of different Hamiltonian cycles in a complete undirected graph on n vertices is (n – 1)!/2 and in a complete directed graph on n vertices is (n – 1)!. These counts assume that cycles that are the same apart from their starting point are not counted separately.

Bondy–Chvátal theorem

The best vertex degree characterization of Hamiltonian graphs was provided in 1972 by the BondyChvátal theorem, which generalizes earlier results by G. A. Dirac (1952) and Øystein Ore. Both Dirac's and Ore's theorems can also be derived from Pósa's theorem (1962). Hamiltonicity has been widely studied with relation to various parameters such as graph density, toughness, forbidden subgraphs and distance among other parameters.[11] Dirac and Ore's theorems basically state that a graph is Hamiltonian if it has enough edges.

The Bondy–Chvátal theorem operates on the closure cl(G) of a graph G with n vertices, obtained by repeatedly adding a new edge uv connecting a nonadjacent pair of vertices u and v with deg(v) + deg(u) ≥ n until no more pairs with this property can be found.

Bondy–Chvátal Theorem (1976) — A graph is Hamiltonian if and only if its closure is Hamiltonian.

As complete graphs are Hamiltonian, all graphs whose closure is complete are Hamiltonian, which is the content of the following earlier theorems by Dirac and Ore.

Dirac's Theorem (1952) — A simple graph with n vertices () is Hamiltonian if every vertex has degree or greater.

Ore's Theorem (1960) — A simple graph with n vertices () is Hamiltonian if, for every pair of non-adjacent vertices, the sum of their degrees is n or greater.

The following theorems can be regarded as directed versions:

Ghouila–Houiri (1960) — A strongly connected simple directed graph with n vertices is Hamiltonian if every vertex has a full degree greater than or equal to n.

Meyniel (1973) — A strongly connected simple directed graph with n vertices is Hamiltonian if the sum of full degrees of every pair of distinct non-adjacent vertices is greater than or equal to

The number of vertices must be doubled because each undirected edge corresponds to two directed arcs and thus the degree of a vertex in the directed graph is twice the degree in the undirected graph.

Rahman–Kaykobad (2005) — A simple graph with n vertices has a Hamiltonian path if, for every non-adjacent vertex pairs the sum of their degrees and their shortest path length is greater than n.[12]

The above theorem can only recognize the existence of a Hamiltonian path in a graph and not a Hamiltonian Cycle.

Many of these results have analogues for balanced bipartite graphs, in which the vertex degrees are compared to the number of vertices on a single side of the bipartition rather than the number of vertices in the whole graph.[13]

Existence of Hamiltonian cycles in planar graphs

Theorem — A 4-connected planar triangulation has a Hamiltonian cycle.[14]

Theorem — A 4-connected planar graph has a Hamiltonian cycle.[15]

The Hamiltonian cycle polynomial

An algebraic representation of the Hamiltonian cycles of a given weighted digraph (whose arcs are assigned weights from a certain ground field) is the Hamiltonian cycle polynomial of its weighted adjacency matrix defined as the sum of the products of the arc weights of the digraph's Hamiltonian cycles. This polynomial is not identically zero as a function in the arc weights if and only if the digraph is Hamiltonian. The relationship between the computational complexities of computing it and computing the permanent was shown by Grigoriy Kogan.[16]

See also

Notes

  1. ^ Biggs, N. L. (1981), "T. P. Kirkman, mathematician", The Bulletin of the London Mathematical Society, 13 (2): 97–120, doi:10.1112/blms/13.2.97, MR 0608093.
  2. ^ Watkins, John J. (2004), "Chapter 2: Knight's Tours", Across the Board: The Mathematics of Chessboard Problems, Princeton University Press, pp. 25–38, ISBN 978-0-691-15498-5.
  3. ^ de Ruiter, Johan (2017). Hamilton Mazes – The Beginner's Guide.
  4. ^ Friedman, Erich (2009). "Hamiltonian Mazes". Erich's Puzzle Palace. Archived from the original on 16 April 2016. Retrieved 27 May 2017.
  5. ^ Gardner, M. "Mathematical Games: About the Remarkable Similarity between the Icosian Game and the Towers of Hanoi." Sci. Amer. 196, 150–156, May 1957
  6. ^ Ghaderpour, E.; Morris, D. W. (2014). "Cayley graphs on nilpotent groups with cyclic commutator subgroup are Hamiltonian". Ars Mathematica Contemporanea. 7 (1): 55–72. arXiv:1111.6216. doi:10.26493/1855-3974.280.8d3. S2CID 57575227.
  7. ^ Lucas, Joan M. (1987), "The rotation graph of binary trees is Hamiltonian", Journal of Algorithms, 8 (4): 503–535, doi:10.1016/0196-6774(87)90048-4
  8. ^ Hurtado, Ferran; Noy, Marc (1999), "Graph of triangulations of a convex polygon and tree of triangulations", Computational Geometry, 13 (3): 179–188, doi:10.1016/S0925-7721(99)00016-4
  9. ^ Eric Weinstein. "Biconnected Graph". Wolfram MathWorld.
  10. ^ Balakrishnan, R.; Ranganathan, K. (2012), "Corollary 6.5.5", A Textbook of Graph Theory, Springer, p. 134, ISBN 9781461445296.
  11. ^ Gould, Ronald J. (July 8, 2002). "Advances on the Hamiltonian Problem – A Survey" (PDF). Emory University. Archived from the original (PDF) on 2018-07-13. Retrieved 2012-12-10.
  12. ^ Rahman, M. S.; Kaykobad, M. (April 2005). "On Hamiltonian cycles and Hamiltonian paths". Information Processing Letters. 94: 37–41. doi:10.1016/j.ipl.2004.12.002.
  13. ^ Moon, J.; Moser, L. (1963), "On Hamiltonian bipartite graphs", Israel Journal of Mathematics, 1 (3): 163–165, doi:10.1007/BF02759704, MR 0161332, S2CID 119358798
  14. ^ Whitney, Hassler (1931), "A theorem on graphs", Annals of Mathematics, Second Series, 32 (2): 378–390, doi:10.2307/1968197, JSTOR 1968197, MR 1503003
  15. ^ Tutte, W. T. (1956), "A theorem on planar graphs", Trans. Amer. Math. Soc., 82: 99–116, doi:10.1090/s0002-9947-1956-0081471-8
  16. ^ Kogan, Grigoriy (1996). "Computing permanents over fields of characteristic 3: Where and why it becomes difficult". Proceedings of 37th Conference on Foundations of Computer Science. pp. 108–114. doi:10.1109/SFCS.1996.548469. ISBN 0-8186-7594-2. S2CID 39024286.

References

Read other articles:

Political party in Spain Canarian Coalition Coalición CanariaGeneral SecretaryFernando Clavijo BatlleFoundedFebruary 1993 (as a coalition)May 2005 (as a party)HeadquartersC/ Galcerán, 7-9 Edif. El Drago, Santa Cruz de TenerifeC/ Buenos Aires 24, Las Palmas de Gran CanariaIdeologyCanarian nationalismPolitical positionCentre[1] to centre-right[1][2][3]National affiliationAgreement of Nationalist Unity (2006-2023)European affiliationEuropean Democratic ...

 

العلاقات الجزائرية القبرصية   الجزائر   قبرص السفارات الجزائر   العنوان : بيروت قبرص   العنوان : باريس تعديل مصدري - تعديل   العلاقات الجزائرية القبرصية تشير إلى العلاقات الثنائية بين الجزائر وقبرص. الجزائر ممثلة في قبرص من خلال سفارتها في بيروت،...

 

Vasco da Gama (Goa)  Nota: Não confundir com Club de Regatas Vasco da Gama.   Cidade   Porto de Vasco da Gama.Porto de Vasco da Gama. Localização País  Índia Estado Goa Distrito Goa Sul Subdistrito Mormugão História Fundação 1543 Características geográficas Altitude 43 m Fuso horário UTC+5:30 Código postal 403802 Código de área 91-832 Sítio [1] Mapa de Goa. Vasco da Gama (concani/marata: वास्को) (normalmente reduzida para Vas...

東亞運動會羽球比賽是東亞運動會的正式比賽項目,曾經在1993年、1997年、2009年及2013年設立。 2013年5月,東亞運協會理事會在天津舉行的第六屆東亞運動會宣布原定於2017年的第七屆終止舉辦,於2019年轉型為東亞青年運動會[1],2013年亦成為最後一屆東亞運動會羽球比賽。 比賽項目 比賽項目 93 97 01 05 09 13 男子單打 • •   • • 男子雙打 • • • • 女子單打 • • •

 

Ця стаття має кілька недоліків. Будь ласка, допоможіть удосконалити її або обговоріть ці проблеми на сторінці обговорення. Було запропоновано приєднати цю статтю або розділ до Каструм, але, можливо, це варто додатково обговорити. Пропозиція з травня 2022. Ця стаття може міст

 

غوستافو سلغيروGustavo Salguero رئيس جمهورية غواتيمالا الثلاثون في المنصب1 يونيو 1993 – 5 يونيو 1993 خورخي سيرانو راميرو دي ليون معلومات شخصية الميلاد 1946 (العمر 76–77)غواتيمالا مواطنة غواتيمالا  الحياة العملية المهنة سياسي،  ورجل أعمال  غوستافو أدولفو إسبينا سلغيرورئيس...

National comedy club chain in Canada This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Yuk Yuk's – news · newspapers · books · scholar · JSTOR (July 2019) (Learn how and when to remove this template message) Yuk Yuk'sTypePrivateIndustryComedy clubsFounded1976 Toronto, Ontario, CanadaHeadquarters920 Yonge Stree...

 

Polish trade organization Polish Society of the Phonographic IndustryThe logo of ZPAVAbbreviationZPAVFormation11 July 1991; 32 years ago (1991-07-11)Region served PolandPresidentAndrzej PuczyńskiWebsitezpav.pl The Polish Society of the Phonographic Industry (Polish: Związek Producentów Audio-Video, ZPAV) is the trade organization that represents the interests of the music industry in Poland, and the Polish chapter of the International Federation of the Phonographic Indust...

 

For the company, see VA Tech Wabag. Place in Enga Province, Papua New GuineaWabagWabag from spaceWabagLocation within Papua New GuineaCoordinates: 05°29′31″S 143°43′18″E / 5.49194°S 143.72167°E / -5.49194; 143.72167CountryPapua New GuineaProvinceEnga ProvinceDistrictWabag DistrictLLGWabag Urban LLGElevation1,830 m (6,000 ft)Population (2000) • Total4,072Languages • Main languagesEnga, Tok Pisin • Traditiona...

2011 greatest hits album by PowderfingerFingerprints & Footprints: The Ultimate CollectionGreatest hits album by PowderfingerReleased5 November 2011 (Australia)RecordedVariousGenreAlternative rockLabelUniversal Music AustraliaPowderfinger chronology Footprints: The Best of Powderfinger, 2001-2011(2011) Fingerprints & Footprints: The Ultimate Collection(2011) One Night Lonely(2020) Fingerprints & Footprints: The Ultimate Collection is a double greatest hits album by Austral...

 

1941 poem by John Magee Jr. This article is about the poem. For the 1957 British film, see High Flight (film). High Flightby John Gillespie Magee Jr.Magee's manuscript of High Flight, mailed to his parents on 3 September 1941.WrittenAugust 1941(82 years ago) (1941-08)LanguageEnglishSubject(s)AviationFormSonnetMeterIambic pentameterMedia typeHandwrittenLines14Full text High Flight at WikisourceReading of the poem High Flight High Flight is a 1941 sonnet written by war poet John ...

 

This article relies excessively on references to primary sources. Please improve this article by adding secondary or tertiary sources. Find sources: Glenarm Castle – news · newspapers · books · scholar · JSTOR (March 2008) (Learn how and when to remove this template message) Glenarm CastleGlenarm, County Antrim, Northern Ireland Glenarm CastleGlenarm CastleCoordinates54°57′58″N 5°57′22″W / 54.966°N 5.956°W / 54.966; ...

College in Kerala, India This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Azeezia Medical College – news · newspapers · books · scholar · JSTOR (January 2013) (Learn how and when to remove this template message) Azeezia Medical College, KollamOther nameAIMSTypePrivateEstablished2008Academic affiliationsUniver...

 

Sports event 36th National Games of IndiaHost cityGujarat, IndiaMottoCelebrating Unity Through SportsTeams37Athletes7000Events36Opening29 September 2022 (2022-09-29)Closing12 October 2022 (2022-10-12)Opened byNarendra Modi(Prime Minister of India)Main venueNarendra Modi Stadium, Ahmedabad← 20202023 → The 2022 National Games of India, also known as the 36th National Games of India and informally as Gujarat 2022, was the 36th edition of the Na...

 

Map of the Faroe Islands This is a list of places in Faroe Islands having standing links to local communities in other countries. In most cases, the association, especially when formalised by local government, is known as town twinning (though other terms, such as partner towns or sister cities are sometimes used instead), and while most of the places included are towns, the list also comprises villages, cities, districts, counties, etc. with similar links. Index:  A B C D E F G H I ...

Physical or chemical injuries of the eye Medical conditionEye injuryA small piece of iron has lodged in the margin of the corneaSpecialtyOphthalmology, neurology  Physical or chemical injuries of the eye can be a serious threat to vision if not treated appropriately and in a timely fashion. The most obvious presentation of ocular (eye) injuries is redness and pain of the affected eyes. This is not, however, universally true, as tiny metallic projectiles may cause neither symptom. Tiny me...

 

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Maret 2023. Topografi Asia Artikel ini mencantumkan elevasi alami tertinggi dari setiap negara berdaulat di benua Asia yang ditentukan secara fisiografis. Negara-negara yang terkadang diasosiasikan dengan Asia secara politik dan budaya, tetapi bukan bagian geografis...

 

The African fish-eagle is the national bird of Namibia. This is a list of the bird species recorded in Namibia. The avifauna of Namibia included a total of 685 confirmed species as of July 2023, of which 1 is endemic, and four have been introduced by humans. One additional species is hypothetical as defined below. Unless otherwise noted, the list is that of Avibase. This list's taxonomic treatment (designation and sequence of orders, families and species) and nomenclature (English and scient...

Tiɣiɣac Tasensartut TageldaPlantaeTafesnaCaryophyllalesTawacultCaryophyllaceaeAdu-twacultCaryophylloideae (fr) tawsit SileneLinnaeus, 1753 Tiɣiɣac (Isem usnan: Silene) d tawsit n yemɣi seg twacult n tenɣerfelt. Carl Von Linné d amdan amezwaru i yuran fell-as deg useggas n 1753. Tilmas Silene vulgaris - Tiɣiɣac[1][2][3] Ismawen Isem-is s latinit: Silene vulgaris Isem-is s tefransist: Silène enflé Ismawen-is nniḍen s teqbaylit: Ismawen-is nni...

 

Perbatasan Thailand di Kon, di Distrik Chaloem Phra Kiat, Nan Asian Highway 13 (AH13) adalah bagian dari Jaringan Jalan Asia yang membentang sejauh 760 kilometer (470 mi) dari Oudomxay, Laos ke Nakhon Sawan, Thailand menghubungkan AH12 ke AH2. Rute yang dilewati: Laos Route 2W: Oudomxay - Muang Ngeun Thailand Route 101: Huai Kon - Den Chai Route 11: Den Chai - Uttaradit - Phitsanulok (AH 16) Route 117: Phitsanulok (AH 16) - Nakhon Sawan (AH 2) lbsJaringan Jalan AsiaSeluruh benua AH1 AH2 ...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!