Path decomposition (graph theory)
ID: path-decomposition-graph-theory
A path decomposition of a finite graph is a sequence of vertex sets, called bags, , satisfying three conditions: every vertex appears, every edge has both endpoints together in a bag, and the bag indices containing each fixed vertex form an interval. Its width is . Minimizing this width gives the pathwidth.
For the three-vertex path , bags have width one. Vertex two remains present while the decomposition passes from one edge to the next. The interval requirement forbids forgetting a vertex and later introducing it again, which is what permits dynamic programming to retain only the current bag's unresolved information.
New to topics? Read the docs here!