Package unbbayes.prs.id

Examples of unbbayes.prs.id.UtilityNode


   * Inserts the desired node inside a network creating a default state, symbol and description.
   * @param x The x position.
   * @param y The y position.
   */
  public Node insertUtilityNode(double x, double y) {
    UtilityNode node = new UtilityNode();
    node.setPosition(x, y);
    node.setName(resource.getString("utilityNodeName")
        + singleEntityNetwork.getNodeCount());
    node.setDescription(node.getName());
    IProbabilityFunction auxTab = ((IRandomVariable) node).getProbabilityFunction();
    auxTab.addVariable(node);
    singleEntityNetwork.addNode(node);
   
    return node;
View Full Code Here

TOP

Related Classes of unbbayes.prs.id.UtilityNode

Copyright © 2018 www.massapicom. 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.