Examples of variableCount()


Examples of unbbayes.prs.bn.PotentialTable.variableCount()

    if (node instanceof IRandomVariable) {
      potTab = (PotentialTable)((IRandomVariable) node).getProbabilityFunction();

      int states = 1;
      variables = potTab.variableCount();

      // calculate the number of states by multiplying the number of
      // states that each father (variables) has. Where variable 0 is the
      // node itself. That is why it starts at 1.
      /*
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.