{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "AT8GWPWQWT"
    }
  ],
  "body": "\n## Summary\n\nA Hamiltonian path in a graph is a [[path|03NAMV1DHJ]] that visits every vertex exactly once.\nIt is the open form of a [[Hamiltonian cycle|0HF30P75G4]].\nDeciding whether a graph has a Hamiltonian path is NP-complete, and no simple criterion like Euler's parity test for [[Eulerian trails|05NWGBHKSZ]] is known.\nThe node [[Hamiltonian path|AT8GWPWQWT]] gives the precise definition.\n\n## Explanations\n\n### L1 human\n\nA Hamiltonian path is a tour that visits every city exactly once, without needing to come back home.\nOn a chessboard, a knight's tour that visits every square once is a Hamiltonian path in the knight's move graph.\nThe path graph $1 - 2 - 3 - 4$ is itself a Hamiltonian path, while a star with three arms has none.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "kind": "concept",
    "msc": [
      "05C45"
    ],
    "name": "Hamiltonian path",
    "same_as": {
      "wikidata": "Q273037",
      "wikipedia": "Hamiltonian path"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Hamiltonian_path"
      }
    ],
    "specializes": [
      "03NAMV1DHJ"
    ],
    "tag": "MBASZABTJ1"
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/MBASZABTJ1/",
  "links": [
    {
      "field": "specializes",
      "target": "03NAMV1DHJ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/MBASZABTJ1.md",
  "msc": [
    "05C45"
  ],
  "name": "Hamiltonian path",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/MBA/MBASZABTJ1.md",
  "status": null,
  "tag": "MBASZABTJ1",
  "uri": "m2://MBASZABTJ1",
  "url": "https://math2.tamnd.com/wiki/hamiltonian-path/",
  "writing": {
    "tag": "MBASZABTJ1",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
