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

Examples of edu.gmu.seor.prognos.unbbayesplugin.cps.CPSCompilerMain


    check( EDB.This().get("ROOT.ENGINES.DMP.NODES.turnRate.BEL.MU").getMatrixData()10.1045  );   
    check( EDB.This().get("ROOT.ENGINES.DMP.NODES.turnRate.BEL.SIGMA").getMatrixData()3.22317 );
  }
 
  public void test11(){
    CPSCompilerMain cpsCompiler = new CPSCompilerMain();
        cpsCompiler.InitCompiler();
        cpsCompiler.compile
                   mk_uc3_withcontinuous_no_link_bnet +
                   "defineEvidence( hasWeaponVisible, True );"+
                   "defineEvidence( isJettisoningCargo, True );"+
                   "run(DMP);" );
               
View Full Code Here


      check( EDB.This().get("ROOT.ENGINES.DMP.NODES.propellerTurnCount.BEL.MU").getMatrixData()137.048 );   
    check( EDB.This().get("ROOT.ENGINES.DMP.NODES.propellerTurnCount.BEL.SIGMA").getMatrixData()113591.121 );
  }
 
  public void test12(){
    CPSCompilerMain cpsCompiler = new CPSCompilerMain();
        cpsCompiler.InitCompiler();
        cpsCompiler.compile
                   mk_uc3_withcontinuous_no_link_bnet +
                   "defineEvidence( hasWeaponVisible, True );"+
                   "defineEvidence( isJettisoningCargo, True );"+
                   "defineEvidence( cavitation, 9.87676 );"+
                   "run(DMP);" );
View Full Code Here

      "p( cavitation | speedChange,turnRate ) = Root(Exp( speedChange, e ),2) -1* turnRate +  NormalDist( 0, 0.1 );" +
    "}"
      );

  public void test1(){
    CPSCompilerMain cpsCompiler = new CPSCompilerMain();
        cpsCompiler.InitCompiler();
        cpsCompiler.compile
                   mk_uc3_withcontinuous_bnet_8 +
                   "run(DMP);" );
               
        check( EDB.This().get("ROOT.ENGINES.DMP.NODES.hasAggressiveBehavior.BEL").getNext().getData()0.4 );   
      check( EDB.This().get("ROOT.ENGINES.DMP.NODES.hasWeaponVisible.BEL").getNext().getData()0.31 );   
View Full Code Here

      check( EDB.This().get("ROOT.ENGINES.DMP.NODES.propellerTurnCount.BEL.MU").getMatrixData()7.58177 );   
    check( EDB.This().get("ROOT.ENGINES.DMP.NODES.propellerTurnCount.BEL.SIGMA").getMatrixData()50.5795 );
  }
 
  public void test2(){
    CPSCompilerMain cpsCompiler = new CPSCompilerMain();
        cpsCompiler.InitCompiler();
        cpsCompiler.compile
                   mk_uc3_withcontinuous_bnet_8 +
                   "defineEvidence( cavitation, 2 );"+
                   "run(DMP);" );
               
        check( EDB.This().get("ROOT.ENGINES.DMP.NODES.hasAggressiveBehavior.BEL").getNext().getData()0.270988 );   
View Full Code Here

      check( EDB.This().get("ROOT.ENGINES.DMP.NODES.propellerTurnCount.BEL.MU").getMatrixData()6.47903 );   
    check( EDB.This().get("ROOT.ENGINES.DMP.NODES.propellerTurnCount.BEL.SIGMA").getMatrixData()6.34687 );
  }
 
  public void test3(){
    CPSCompilerMain cpsCompiler = new CPSCompilerMain();
        cpsCompiler.InitCompiler();
        cpsCompiler.compile
                   mk_uc3_withcontinuous_bnet_8 +
                   "defineEvidence( speedChange, 5.31554 );"+
                   "run(DMP);" );
               
        check( EDB.This().get("ROOT.ENGINES.DMP.NODES.hasAggressiveBehavior.BEL").getNext().getData()0.933363 );   
View Full Code Here

      check( EDB.This().get("ROOT.ENGINES.DMP.NODES.propellerTurnCount.BEL.MU").getMatrixData()14.2645 );   
    check( EDB.This().get("ROOT.ENGINES.DMP.NODES.propellerTurnCount.BEL.SIGMA").getMatrixData()0.5 );
  }
 
  public void test4(){
    CPSCompilerMain cpsCompiler = new CPSCompilerMain();
        cpsCompiler.InitCompiler();
        cpsCompiler.compile
                   mk_uc3_withcontinuous_bnet_8 +
                   "defineEvidence( turnRate, 6.90016 );"+
                   "run(DMP);" );
               
        check( EDB.This().get("ROOT.ENGINES.DMP.NODES.hasAggressiveBehavior.BEL").getNext().getData()0.719269 );   
View Full Code Here

      check( EDB.This().get("ROOT.ENGINES.DMP.NODES.propellerTurnCount.BEL.MU").getMatrixData()10.8745 );   
    check( EDB.This().get("ROOT.ENGINES.DMP.NODES.propellerTurnCount.BEL.SIGMA").getMatrixData()60.7483 );
  }
 
  public void test5(){
    CPSCompilerMain cpsCompiler = new CPSCompilerMain();
        cpsCompiler.InitCompiler();
        cpsCompiler.compile
                   mk_uc3_withcontinuous_bnet_8 +
                   "defineEvidence( shipRCSchange, 0.189283 );"+
                   "run(DMP);" );
               
        check( EDB.This().get("ROOT.ENGINES.DMP.NODES.hasAggressiveBehavior.BEL").getNext().getData()0.000202959 );   
View Full Code Here

    check( EDB.This().get("ROOT.ENGINES.DMP.NODES.propellerTurnCount.BEL.MU").getMatrixData()3.4585 );   
    check( EDB.This().get("ROOT.ENGINES.DMP.NODES.propellerTurnCount.BEL.SIGMA").getMatrixData()7.2676 );
  }
 
  public void test6(){
    CPSCompilerMain cpsCompiler = new CPSCompilerMain();
        cpsCompiler.InitCompiler();
        cpsCompiler.compile
                   mk_uc3_withcontinuous_bnet_8 +
                   "defineEvidence( propellerTurnCount, 0.110492 );"+
                   "run(DMP);" );
               
        check( EDB.This().get("ROOT.ENGINES.DMP.NODES.hasAggressiveBehavior.BEL").getNext().getData()0.301597 );   
View Full Code Here

    check( EDB.This().get("ROOT.ENGINES.DMP.NODES.shipRCSchange.BEL.MU").getMatrixData()0.755444 );   
    check( EDB.This().get("ROOT.ENGINES.DMP.NODES.shipRCSchange.BEL.SIGMA").getMatrixData()0.186724 );   
  }
 
  public void test7(){
    CPSCompilerMain cpsCompiler = new CPSCompilerMain();
        cpsCompiler.InitCompiler();
        cpsCompiler.compile
                   mk_uc3_withcontinuous_bnet_8 +
                   "defineEvidence( speedChange, 2.44765 );"+
                   "defineEvidence( cavitation, -0.212527 );"+
                   "run(DMP);" );
               
View Full Code Here

      check( EDB.This().get("ROOT.ENGINES.DMP.NODES.propellerTurnCount.BEL.MU").getMatrixData()3.40017 );   
    check( EDB.This().get("ROOT.ENGINES.DMP.NODES.propellerTurnCount.BEL.SIGMA").getMatrixData()0.5 );
  }
 
  public void test8(){
    CPSCompilerMain cpsCompiler = new CPSCompilerMain();
        cpsCompiler.InitCompiler();
        cpsCompiler.compile
                   mk_uc3_withcontinuous_bnet_8 +
                   "defineEvidence( hasAggressiveBehavior, True );"+
                   "defineEvidence( cavitation, -3.5763 );"+
                   "run(DMP);" );
               
View Full Code Here

TOP

Related Classes of edu.gmu.seor.prognos.unbbayesplugin.cps.CPSCompilerMain

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.