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

Examples of edu.gmu.seor.prognos.unbbayesplugin.cps.controller.CPSController


  Action actCPT; 
  public JButton createCPTButton(){ 
    actCPT = new AbstractAction("Create CPT"){
      public void actionPerformed(ActionEvent e) {  
        //useCPTBtn.setSelected(true);
        CPSController controller = new CPSController(node);
        String strConbined =  "defineState( Discrete ," + textInputArea2.getText() +");"+ textInputArea1.getText();
        String str = strConbined + " createCPT( "+ node.getName() +" );";
         controller.compileWork(str);
       
        CPS.getInstance().setScript(getProbabilityFunctionOwner(), strConbined );
         
      }
    };     
View Full Code Here


  public JButton createCPTButton(){ 
    actCPT = new AbstractAction("Create CPT"){
      public void actionPerformed(ActionEvent e) {  
        useCPTBtn.setSelected(true);
        useScriptBtn.setSelected(false);
        CPSController controller = new CPSController(node);
         
        String strConbined =  "defineState( Continuous ," + textInputArea2.getText() +");"+ textInputArea1.getText();
        String str = strConbined + " createCPT( "+ node.getName() +" );";
         controller.compileWork(str);
       
        CPS.getInstance().setScript(getProbabilityFunctionOwner(), strConbined );
        PotentialTable auxTab = (PotentialTable) ((IRandomVariable) node).getProbabilityFunction();
        GUIPotentialTable table = new GUIPotentialTable( auxTab );
        table.showTable("CPT");
View Full Code Here

  public UserInterface_Test() {
  }

  public void run() {
     CPSController controller = new CPSController(windowMode.DMP, "DMP");
  }
View Full Code Here

TOP

Related Classes of edu.gmu.seor.prognos.unbbayesplugin.cps.controller.CPSController

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.