Bayesian Networks and Influence Diagrams by