addChild() private method

private addChild ( BayesNetNode node ) : void
node BayesNetNode
return void
コード例 #1
0
ファイル: BayesNetNode.cs プロジェクト: PaulMineau/AIMA.Net
 public void influencedBy(BayesNetNode parent1)
 {
     addParent(parent1);
     parent1.addChild(this);
     distribution = new ProbabilityDistribution(parent1.getVariable());
 }
コード例 #2
0
 public void influencedBy(BayesNetNode parent1)
 {
     addParent(parent1);
     parent1.addChild(this);
     distribution = new ProbabilityDistribution(parent1.getVariable());
 }