From clique forests to tree decompositions #
The adapter preserves every original bag and gives the added connector an empty
bag. Nodes containing a vertex still connect through that vertex's original
top node; they never need to pass through the connector. In particular,
joining several roots does not increase the maximal bag size or the width.
The target interface fixes its node universe to Type, so the adapter uses
finite node types in that universe. Graph vertices may live in any universe.
Extend the original bags by an empty bag at the connector.
Equations
- T.connectorBag none = ∅
- T.connectorBag (some i) = T.bag i
Instances For
The subtree induced by bags containing a fixed vertex.
Equations
- T.vertexBagGraph v = SimpleGraph.induce {x : Option ι | v ∈ T.connectorBag x} T.connectorGraph
Instances For
Every bag containing a vertex reaches its original top bag without leaving the induced graph of bags containing that vertex.
Vertex-bag coherence survives joining roots with an empty connector bag.
Convert a finite rooted clique forest into the existing tree-decomposition interface, preserving original bags and adding only an empty connector bag.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The connector contributes no vertices to a bag.
Each original bag is unchanged by the adapter.
The maximum bag size is unchanged, including the empty-index case.
The adapter has exactly the original maximum bag size minus one.
A clique forest directly supplies a treewidth bound through the existing API.