addChild() private method

private addChild ( BayesNetNode node ) : void
node BayesNetNode
return void
Exemplo n.º 1
0
 public void influencedBy(BayesNetNode parent1)
 {
     addParent(parent1);
     parent1.addChild(this);
     distribution = new ProbabilityDistribution(parent1.getVariable());
 }
Exemplo n.º 2
0
 public void influencedBy(BayesNetNode parent1)
 {
     addParent(parent1);
     parent1.addChild(this);
     distribution = new ProbabilityDistribution(parent1.getVariable());
 }