DMelt example: Bayesian network using Encog Java and simpel logic