AIMA.Probability.BayesNetNode.addChild C# (CSharp) 메소드

addChild() 개인적인 메소드

private addChild ( BayesNetNode node ) : void
node BayesNetNode
리턴 void
        private void addChild(BayesNetNode node)
        {
            if (!(children.Contains(node)))
            {
                children.Add(node);
            }
        }

Usage Example

예제 #1
0
 public void influencedBy(BayesNetNode parent1)
 {
     addParent(parent1);
     parent1.addChild(this);
     distribution = new ProbabilityDistribution(parent1.getVariable());
 }
All Usage Examples Of AIMA.Probability.BayesNetNode::addChild