Given a graph $G$ with $n$ vertices, let $(X, T)$ be a tree decomposition of $G$ with the smallest width. Is the number of nodes in $T$ upper bounded by $n$? I have googled it but all materials I found discuss only treewidth.
3 Answers
Not a complete answer, but in T. Kloks Treewidth you have the following lemma:
There always exists a nice tree decomposition of width $k$ and with at most $4n$ bags.
It is NP-complete to determine the minimum number of bags in a tree decomposition of width $k$.
At request of references:
Lemma 2.2. Every graph $G$ with treewidth $k$ has a nice tree-decomposition of width $k$. Furthermore, if $n$ is the number of vertices of $G$ then there exists a nice tree-decomposition with at most $4n$ nodes.
Bodlaender, H.L. and Kloks, T. (1996) "Efficient and Constructive Algorithms for the Pathwidth and Treewidth of Graphs", Journal of Algorithms, 21(2), pp. 358–402. Available at: https://doi.org/10.1006/jagm.1996.0049.
They don't give a proof, but reference Kloks, T. (ed.) (1994) Treewidth. Berlin/Heidelberg: Springer-Verlag (Lecture Notes in Computer Science). Available at: https://doi.org/10.1007/BFb0045375.
-
-
1
The post is old but I think someone might find this piece of information helpful: in Kleinberg and Tardos (I have a translated version so the numbering might be different) in chapter 10.4 there is a proof of the following statement
Every non-redundant tree decomposition of a graph with $n$ vertices has at most $n$ nodes/bags.
Moreover for every tree decomposition I can create a non-redundant tree decomposition (i.e. a tree decomposition T in which there is no edge (x,y) in T with corresponding bags $V_x, V_y$ s.t. $V_x\subseteq V_y$)
Take any node $X_1$ of your tree decomposition $T$. It contains at least 2 vertices from $G$. Let's call $T'_1 = \{X_1\}$, a new tree containing only this node. And $L_1$, the cardinality of the subset of $G$ it contains, thus $L_1 \ge 2.$
Then you add all the other nodes $X_i$ of $T$, one by one, to grow this new tree incrementing the index $i$ of $T'_i$ containing $L_i$ vertices of $G$. The only rule is to pick a node which is connected to $T'_i$, it is always possible as $T$ is connected.
Thus, the new node $X_i$ is connected to $T'_{i-1}$ by only one edge (either it would not be a tree anymore). Let's call $X_j$, the other node of this edge.
Then $X_i$ contains at least one vertex from $G$ which is not in $X_j$ and not in any other node of $T'_{i-1}$, because it would imply to put a new edge and not respect the tree statement. Then $L_i \ge L_{i-1} + 1$.
By induction you get $n \ge L_k \ge 1+k$, with $k$ the number of nodes in $T$.
Then the tree decomposition can have at most $n-1$ nodes
-
1$\begingroup$ The first sentence is incorrect: It contains at least 2 vertices from $G$. A bag can contain one vertex. $\endgroup$ Commented Apr 17, 2019 at 12:25