{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "FJ5E6FZVRJ"
    }
  ],
  "body": "\n## Summary\n\nTreewidth is a number that measures how close a graph is to a [[tree|0MJ0JS72DZ]].\nIt is defined through tree decompositions, which arrange overlapping sets of vertices along a tree.\nForests have treewidth at most $1$, and the complete graph $K_n$ has treewidth $n - 1$.\nTreewidth is central in the theory of [[graph minors|VYQ32ZBPEE]].\nMany problems that are hard in general can be solved efficiently on graphs of bounded treewidth.\n\n## Explanations\n\n### L1 human\n\nA tree is easy to handle because removing any vertex that is not a leaf splits it into separate pieces.\nA graph of small treewidth has the same property in a fuzzy way.\nIt can be cut into pieces by removing small sets of vertices, again and again, in a tree-like pattern.\nFor example, a cycle is not a tree, but it has treewidth $2$, so it is almost as simple as a tree.\nA large square grid has large treewidth, because no small set of vertices splits it into small pieces.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "kind": "concept",
    "msc": [
      "05C83",
      "05C75",
      "05C85"
    ],
    "name": "Treewidth",
    "same_as": {
      "wikidata": "Q5067368",
      "wikipedia": "Treewidth"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Treewidth"
      }
    ],
    "tag": "CD2XB4Y1SF"
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/CD2XB4Y1SF/",
  "links": null,
  "markdown": "https://math2.tamnd.com/node/CD2XB4Y1SF.md",
  "msc": [
    "05C83",
    "05C75",
    "05C85"
  ],
  "name": "Treewidth",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/CD2/CD2XB4Y1SF.md",
  "status": null,
  "tag": "CD2XB4Y1SF",
  "uri": "m2://CD2XB4Y1SF",
  "url": "https://math2.tamnd.com/wiki/treewidth/",
  "writing": {
    "tag": "CD2XB4Y1SF",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
