next up

Dynamic Programming Equations

Given: a constraint network N, variable x with domain D, and value $v\in D$, q(x,v) is the probability that variable x gets value v in a complete solution.

Ud(x) is the breadth-first search tree of depth d around x, qd(x,v) is the probability that x takes value v in a solution in the network Ud(x), $y_1,\ldots, y_m$ are the neighbors of x, Bd(x,yi) is the yi-branch of Ud+1(x), bd(x,yi,w) is the probability that yi takes value w in the network Bd(x,yi).

\begin{displaymath}
q_0(x,v) = p(x,v) \mbox{\rm \ \ \ and\ \ \ } b_0(x,y_i,w) = p(y_i,w). \end{displaymath}

\begin{displaymath}
q_d(x,v) = k_d(x) p(x,v) \cdot
 \prod_{i=1}^m
\sum_{w \vert \mbox{\sf match}(y_i, w, x, v)} b_{d-1}(x, y_i, w),\end{displaymath}

where kd(x) is the normalization constant.

\begin{displaymath}
b_d(y_i,x,v) = k_d(y_i,x) p(x,v) \cdot
\prod_{j=1..m, j \neq...
 ..._{w \vert \mbox{\sf match}(y_j, w, x, v)} b_{d-1}(x, y_j, w).} \end{displaymath}

next up