1
$\begingroup$

On the Wikipedia page of Tree decomposition, there is a dynamic programming algorithm for finding the maximum independent set in a graph of treewidth $k$.

  • For a node $X_i$ of the tree decomposition, let $D_i$ be the union of the sets $X_j$ descending from $X_i$.
  • For an independent set $S\subset X_i$, let $A(S,i)$ denote the size of the largest independent subset $I$ of $D_i$ such that $I \cap X_i = S$.
  • Similarly, for an adjacent pair of nodes $X_i$ and $X_j$, with $X_i$ farther from the root of the tree than $X_j$, and an independent set $S \subset Xi \cap Xj$, let $B(S,i,j)$ denote the size of the largest independent subset $I$ of $D_i$ such that $I \cap X_i \cap X_j = S$.
  • We may calculate these $A$ and $B$ values by a bottom-up traversal of the tree: $$ \begin{aligned} &A(S, i)=|S|+\sum_{j}\left(B\left(S \cap X_{j}, j, i\right)-\left|S \cap X_{j}\right|\right) \\ &B(S, i, j)=\max _{S^{\prime} \subset X_{i} \atop S=S^{\prime} \cap X_{j}} A\left(S^{\prime}, i\right) \end{aligned} $$

I'm curious about the source and proof of this algorithm. Up to now, I have consulted many articles such as

but none of them seems to be consistent with this algorithm. Does anyone know the source of the algorithm? Thanks!

$\endgroup$
3
  • $\begingroup$ I have a certain confusion on the Wiki's algorithm, can you please explain it a bit? Because I saw many papers talking DP on nice tree decomposition rather than general tree decomposition. I suppose the wiki one is the general form $\endgroup$ Commented Jun 16, 2022 at 8:28
  • $\begingroup$ @Edee I did a demonstration of the algorithm for an example, see td4mis.pdf. $\endgroup$ Commented Jun 19, 2022 at 10:55
  • $\begingroup$ Thank you so much, I will check it later. I am doing combinatorial opt, hopefully we can talk more later. $\endgroup$ Commented Jun 19, 2022 at 14:02

1 Answer 1

1
$\begingroup$

To the best of my knowledge, this algorithm oringinated from the following paper:

This paper actually introduced a general dynamic programming approach which solves many problems such as dominating set, vertex cover and independent set. The notion of partial $k$-tree in this paper is equivalent to a graph of treewidth at most $k$.


If you are only interested in the DP for independent set on graphs of bounded treewidth, I suggest to read chapter 7 of the followinng text book named Parameterized Algorithms, which will be more readable.

$\endgroup$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.