Package edu.gmu.seor.prognos.unbbayesplugin.cps.converter

Examples of edu.gmu.seor.prognos.unbbayesplugin.cps.converter.SDB2UDB


    for (IInferenceAlgorithmListener listener : this.getInferenceAlgorithmListeners()) {
      listener.onBeforeRun(this);
    }
    CPSCompilerMain.This().InitCompiler();
    UDB2SDB uToS = new UDB2SDB();
    SDB2UDB sToU = new SDB2UDB();
   
    ProbabilisticNetwork pn = (ProbabilisticNetwork)this.getNetwork();
   
    //save network to see queried result
    //saveNetworkFile(new File(pn.getName()+".xml"), pn);
   
    uToS.convert(pn);
    //EDB.This().get("ROOT").print("");
    CPSCompilerMain.This().compile("run(DMP);")
    ProbabilisticNetwork newNet = sToU.convert(EDB.This().get("ROOT.ENGINES.DMP.NODES"));
    this.setNetwork(newNet);
    iteration_size = EDB.This().get("ROOT.ENGINES.DMP.ITERATION_SIZE").getDataByDouble();
       
    for (Node node : pn.getNodes()) {
      if (node instanceof TreeVariable) {
View Full Code Here


    //this.run();
    SingleEntityNetwork newPn = (SingleEntityNetwork)getNetwork();
   
    // insert evidence 
    UDB2SDB uToS = new UDB2SDB();
    SDB2UDB sToU = new SDB2UDB();
    uToS.setEvidences(newPn)
    
    CPSCompilerMain.This().compile("run(DMP);");
    sToU.update(EDB.This().get("ROOT.ENGINES.DMP.NODES"), (ProbabilisticNetwork)this.getNetwork());
   
    iteration_size = EDB.This().get("ROOT.ENGINES.DMP.ITERATION_SIZE").getDataByDouble();
    
    if (this.getMediator() != null) {
      dmpCompilationPanelBuilder.update();
View Full Code Here

TOP

Related Classes of edu.gmu.seor.prognos.unbbayesplugin.cps.converter.SDB2UDB

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.