Compiling Bayesian Networks Using Variable Elimination
bucket elimination : a unifying framework for probabilistic inference .