Package statechum.analysis.learning

Examples of statechum.analysis.learning.ErlangOracleVisualiser


  protected ErlangOracleLearner innerLearner = null;
 
  protected void jButton2ActionPerformed(@SuppressWarnings("unused") ActionEvent evt) {
    if (learnerThread != null)
      return;
    ErlangOracleVisualiser viz = new ErlangOracleVisualiser();
    innerLearner = ErlangQSMOracle.createLearner(viz,filename);
    innerLearner.addObserver(viz);
    //innerLearner.setGraphName(new File(filename).getName());
    innerLearner.getTentativeAutomaton().getLayoutOptions().showNegatives = false;
    learnerThread = new Thread(new Runnable() {
View Full Code Here


          }
          // Run ErlangQSMOracle on the trace file...

          System.out.println("Learning " + m.name + "...");
          //LearnerGraph g = ErlangQSMOracle.startInference(tracefile);
          ErlangOracleVisualiser viz = new ErlangOracleVisualiser();
          ErlangOracleLearner innerLearner = ErlangQSMOracle.createLearner(viz,tracefile);
          innerLearner.addObserver(viz);
          innerLearner.setGraphNameSuffix(new File(tracefile).getName());
          innerLearner.getTentativeAutomaton().getLayoutOptions().showNegatives = false;
          LearnerGraph g = innerLearner.learnMachine();
View Full Code Here

    AbstractPersistence.loadGraph(args[0], grOrig,null);

    final LearnerGraph erlangGraph = new LearnerGraph(grOrig.config);
    AbstractLearnerGraph.interpretLabelsOnGraph(grOrig,erlangGraph,mod.behaviour.new ConverterErlToMod());
   
    Visualiser graphVisualiser = new ErlangOracleVisualiser();
    graphVisualiser.update(null,erlangGraph);Visualiser.waitForKey();
  }
View Full Code Here

    AbstractPersistence.loadGraph(args[0], grOrig,null);

    final LearnerGraph erlangGraph = new LearnerGraph(grOrig.config);
    AbstractLearnerGraph.interpretLabelsOnGraph(grOrig,erlangGraph,mod.behaviour.new ConverterErlToMod());
   
    Visualiser graphVisualiser = new ErlangOracleVisualiser();
    graphVisualiser.update(null,erlangGraph);Visualiser.waitForKey();
  }
View Full Code Here

TOP

Related Classes of statechum.analysis.learning.ErlangOracleVisualiser

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.