Package edu.gmu.seor.prognos.unbbayesplugin.gmmNode

Examples of edu.gmu.seor.prognos.unbbayesplugin.gmmNode.GmmNodePluginStub


   * @see edu.gmu.seor.prognos.unbbayesplugin.continuous.ssbn.INodeTranslator#translate(unbbayes.prs.INode, unbbayes.prs.Graph)
   */
  public INode translate(INode node, Graph network) {
    ResidentNode resident = ((SimpleSSBNNode)node).getResidentNode();
    if (resident instanceof ContinuousResidentNode) {
      return SSBNNode.getInstance((ProbabilisticNetwork)network, resident, new GmmNodePluginStub());
    }
    return SSBNNode.getInstance((ProbabilisticNetwork)network, resident);
  }
View Full Code Here


      auxTab.addVariable(uNode);
 
    }else
    if( type.equalsIgnoreCase("Continuous") ){
      //create new Continuous uNode
      uNode = new GmmNodePluginStub();
      uNode.setName(sNode.getName());
      uNode.setDescription(sNode.getName());
    }
      
    //set position
View Full Code Here

      for(int i = 0; i < uNode.getStatesSize(); i++)
        Debug.println(uNode.getStateAt(i) + " : " + ((ProbabilisticNode)uNode).getMarginalAt(i));

    }else
    if(type.equalsIgnoreCase("Continuous")){ 
      GmmNodePluginStub gmmNode = (GmmNodePluginStub)rede.getNode(sNode.getName());
      gmmNode.updateGMMData();
    }
  }
View Full Code Here

              break;
            }
          }
        }else
        if( type.getData().equalsIgnoreCase("Continuous") ){
          GmmNodePluginStub gmmNode = (GmmNodePluginStub)pn.getNode(node.getName());
          gmmNode.updateGMMData();
        }
      } 
     }
     
     return pn;
View Full Code Here

            Double d = bel.getNext(state).getDataByDouble();
            uNode.setMarginalAt(i, d.floatValue());
          }
        }else
        if( type.getData().equalsIgnoreCase("Continuous") ){
          GmmNodePluginStub gmmNode = (GmmNodePluginStub)pn.getNode(node.getName());
          gmmNode.updateGMMData();
        }
      }
     }
  }
View Full Code Here

TOP

Related Classes of edu.gmu.seor.prognos.unbbayesplugin.gmmNode.GmmNodePluginStub

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.