Package org.jamesii.simspex.gui

Examples of org.jamesii.simspex.gui.PerfDBRecorder


      Map<Long, ParameterBlock> configs = job.getConfigs();
      exp.setRepeatRuns(repFactor * configs.size());

      // Set up performance recorder
      // TODO: Make recording optional
      PerfDBRecorder perfRec = new PerfDBRecorder();
      exp.getExecutionController().addExecutionListener(perfRec);
      perfRec.getNewVerRTConfigIDs().addAll(configsWithAlgo);

      // Execute experiment, record performance
      ComparisonJobResultListener cjrl =
          new ComparisonJobResultListener(job, perfType);
      perfRec.addListener(cjrl);
      perfRec.start();
      exp.execute();
      perfRec.stop();

      outputHandler.output(job.getProblem(), job);
    }

    outputHandler.finish();
View Full Code Here


      Long rngSeed, boolean switchOffExploration) throws Exception {

    experiment = new BaseExperiment();
    experiment.setModelLocation(new URI(model));

    PerfDBRecorder perfRecorder = new PerfDBRecorder();
    perfRecorder.getInstanceGenerator().setCurrentMode(
        ProblemInstanceSelectionMode.CONSTANT);
    experiment.getExecutionController().addExecutionListener(perfRecorder);
    experiment.setDefaultSimStopTime(defSimStopTime);

    configureTestCase();
View Full Code Here

TOP

Related Classes of org.jamesii.simspex.gui.PerfDBRecorder

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.