Package unbbayes.prs

Examples of unbbayes.prs.Node.appendState()


      ((ProbabilisticNode )uNode).removeAllStates();
       //set states
      ArrayMap<Object, Integer> stateIndexMap = new ArrayMap<Object, Integer>();
      int c = 0;
      EDBUnit stateFirst = states.getNext();
      uNode.appendState(stateFirst.getName());
      stateIndexMap.put(stateFirst.getName(),  c++);
      AddNewStatesToBNNode(uNode, stateIndexMap, c, stateFirst.getNext());
       
      //initialize Potential Table
      PotentialTable auxTab = (PotentialTable) ((IRandomVariable) uNode).getProbabilityFunction();
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.