Title: Reasoning with Probabilistic and Deterministic Graphical Models