Package statechum.analysis.learning.experiments.ExperimentRunner

Examples of statechum.analysis.learning.experiments.ExperimentRunner.GeneratorConfiguration


   */
  @Test
  public final void testInvalidLearnerEvaluatorName3()
  {
    final ExperimentRunner experiment = new ExperimentRunner();experiment.graphsPerRunner=4;experiment.setTimeBetweenHearbeats(heartbeatTestValue);
    experiment.addLearnerEvaluator(new GeneratorConfiguration(Configuration.getDefaultConfiguration(),
        w_evaluator.class, null));
    checkForCorrectException(new whatToRun() { public @Override void run() throws NumberFormatException, IOException {
      experiment.runExperiment(new String[]{testGraphsDir.getAbsolutePath()});
    }},IllegalArgumentException.class,"invalid learner name");
  }
View Full Code Here


  {
    ExperimentRunner result = new ExperimentRunner();result.graphsPerRunner=4;result.setTimeBetweenHearbeats(heartbeatTestValue);
    result.setLearnerStages(new int[]{30,45,90,99});
    Configuration cnf = Configuration.getDefaultConfiguration().copy();
    cnf.setLearnerOverwriteOutput(false);// make sure that existing files are preserved.
    result.addLearnerEvaluator(new GeneratorConfiguration(cnf,w_evaluator.class, "learnerTransitions"));
    result.addLearnerEvaluator(new GeneratorConfiguration(cnf,a_evaluator.class, "learnerAlphabet"));
    return result;
  }
View Full Code Here

  public static void main(String []args)
  {
    try {
      ExperimentRunner experiment = new ExperimentRunner();
      experiment.addLearnerEvaluator(new GeneratorConfiguration(Configuration.getDefaultConfiguration(),WEvaluator.class,"W_learner"));
      experiment.runExperiment(args);
    } catch (Exception e1) {
      e1.printStackTrace();
      return;
    }
View Full Code Here

  public static void main(String []args)
  {
    try {
      ExperimentRunner experiment = new ExperimentRunner();
      experiment.addLearnerEvaluator(new GeneratorConfiguration(Configuration.getDefaultConfiguration(),WEvaluator.class,"W_learner"));
      experiment.runExperiment(args);
    } catch (Exception e1) {
      e1.printStackTrace();
      return;
    }
View Full Code Here

  public static void main(String []args)
  {
    try {
      ExperimentRunner experiment = new ExperimentRunner();
      experiment.addLearnerEvaluator(new GeneratorConfiguration(Configuration.getDefaultConfiguration(),WEvaluator.class,"W_learner"));
      experiment.runExperiment(args);
    } catch (Exception e1) {
      e1.printStackTrace();
      return;
    }
View Full Code Here

TOP

Related Classes of statechum.analysis.learning.experiments.ExperimentRunner.GeneratorConfiguration

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.