Inference in Bayes Networks