Subtrees of rooted tree decompositions #
For a rooted tree decomposition R : G.RootedTreeDecomposition n, this file describes the
subtree below a node: its descendants, its children and the vertices in its bags. These are the
separation facts used by dynamic programming over tree decompositions. A bag separates the
vertices first introduced below each child from the rest of the graph, and different children
introduce disjoint sets of vertices.
Main definitions #
SimpleGraph.RootedTreeDecomposition.IsDescendant R j i: climbing fromjreachesi.SimpleGraph.RootedTreeDecomposition.children R i: the children of nodei.SimpleGraph.RootedTreeDecomposition.subtreeVerts R i: the vertices in the bags of the subtree rooted ati.
Main results #
SimpleGraph.RootedTreeDecomposition.mem_bag_of_mem_subtreeVerts_of_mem_bag_parent: a vertex below a childcthat also lies in the parent's bag lies in the bag ofc.SimpleGraph.RootedTreeDecomposition.mem_subtreeVerts_of_adj: a neighbour of a vertex belowcthat is not in the parent's bag also lies belowc.SimpleGraph.RootedTreeDecomposition.eq_of_mem_subtreeVerts_of_mem_childrenandSimpleGraph.RootedTreeDecomposition.exists_mem_children_of_mem_subtreeVerts: the vertices belowithat are not in its bag are partitioned among the children ofi.
References #
Descendants #
j lies in the subtree rooted at i: climbing from j reaches i.
Two ancestors of a common node are comparable.
Every node lies in the subtree of the root.
Children #
The children of node i: the nonroot nodes whose parent is i.
A strict descendant of i lies below some child of i.
A node lies below at most one child of a given node.
Vertices of a subtree #
The vertices in the bags of the subtree rooted at i.
Every vertex lies in the subtree of the root.
Every bag between a node containing v and the topmost node for v contains v.
The parent's bag meets the subtree of c only inside the bag of c.
A vertex below c that is not in the parent's bag has its topmost node below c.
A vertex below c that is not in the parent's bag occurs only in bags below c.
The parent's bag separates the vertices introduced below c from the rest of the graph:
every neighbour of such a vertex also lies below c.
Different children of i introduce disjoint sets of vertices outside the bag of i.
Every vertex below i that is not in the bag of i lies below some child of i.