Python implementation of variable enumeration and variable elimination for exact inference in probabilistic Bayesian networks.