示例#1
0
 @Override
 public int emulateNextDesignAndReturnSize() {
   try {
     return helper.emulateNextDesign();
   } catch (InPUTException e) {
     throw new IllegalStateException(
         "something went wrong with the emulation of the existing experiment. Maybe something is broken in the experimental structure.",
         e);
   }
 }
示例#2
0
 @Override
 int initNextDesign() throws InPUTException {
   if (getAmountEvaluatedRuns() == 0) return helper.initInitialDesign();
   else return helper.initSequentialDesign();
 }
示例#3
0
 /**
  * retrieves the folder in which the experimental data is stored. Returns null if no data is
  * stored.
  *
  * @return
  */
 public String getExperimentalFolderPath() {
   return helper.getExperimentalFolderPath();
 }
示例#4
0
 @Override
 public void resetStudy(List<IDesign> problems, String studyId) throws InPUTException {
   super.resetStudy(problems, studyId);
   helper.reset(studyId);
 }
示例#5
0
 @Override
 protected IExperiment nextExperiment(int position) throws InPUTException {
   return helper.nextExperiment(position);
 }
示例#6
0
 @Override
 protected void feedback(IExperiment experiment, IDesign newResult) throws InPUTException {
   experiment.addOutput(newResult);
   helper.feedbackSpot(newResult);
 }