Package unbbayes.prs.id

Examples of unbbayes.prs.id.DecisionNode


   * 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 insertDecisionNode(double x, double y) {
    DecisionNode node = new DecisionNode();
    node.setPosition(x, y);
    node.appendState(resource.getString("firstStateDecisionName"));
    node.setName(resource.getString("decisionNodeName")
        + singleEntityNetwork.getNodeCount());
    node.setDescription(node.getName());
    singleEntityNetwork.addNode(node);
   
    return node;
  }
View Full Code Here

TOP

Related Classes of unbbayes.prs.id.DecisionNode

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.