The Generalized Distributive Law
bucket elimination : a unifying framework for probabilistic inference .