pathwidth
Pathwidth is a graph parameter that measures how closely a graph resembles a path. It is defined through path decompositions. A path decomposition of a graph G = (V,E) is a sequence of subsets, called bags, X1, X2, ..., Xm, of V such that: the union of all bags is V; every edge uv ∈ E is contained in some bag (i.e., {u,v} ⊆ Xi for some i); and for every vertex v ∈ V, the set of indices i with v ∈ Xi forms a contiguous interval. The width of a path decomposition is the maximum bag size minus one, and the pathwidth pw(G) is the minimum width over all path decompositions of G.
Examples illustrate the concept: a path on n vertices has pw = 1; a cycle Cn has pw
Pathwidth is related but distinct from the more general treewidth. For any graph G, pw(G) is at
Computational aspects include that computing the exact pathwidth is computationally challenging (NP-hard in general). The associated