public BayesNetNode(String variable) { this.variable = variable; parents = new List<BayesNetNode>(); children = new List<BayesNetNode>(); distribution = new ProbabilityDistribution(variable); }