Loopy Belief Propagation

At convergence,

\[p(x_f)\propto\phi_f(x_f)\prod_{l\in\mathcal{N}(f)}\delta_{l\rightarrow f}(x_f).\]