Package

Source Code of Continuous_Test

import java.io.File;
import java.io.IOException;
import java.util.List;

import edu.gmu.seor.prognos.unbbayesplugin.cps.CPSCompilerMain;
import edu.gmu.seor.prognos.unbbayesplugin.cps.datastructure.EDB;


public class Continuous_Test extends Test {
  
  public Continuous_Test() {}
  
  public void test1()
  {
    CPSCompilerMain cpsCompiler = new CPSCompilerMain();
        cpsCompiler.InitCompiler();
       
        cpsCompiler.compile(
            "defineNode(P1, Number);"+
        "{ defineState(Continuous, 1, 2, 3, 4, 5, 6);" +
        "  p(P1) = NormalDist( 3, 2 ); }" 
       );
    
       EDB.This().print("ROOT");
  }
 
  
  /**
   * @param args
   */
  public static void main(String[] args) {
    Continuous_Test T = new Continuous_Test();
    T.test1 ();
  }

}
TOP

Related Classes of Continuous_Test

TOP
Copyright © 2018 www.massapi.com. 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.