예제 #1
0
 /**
  * Sets up the experiment for all selected, runnable alternatives.
  *
  * @return the current experiment status
  */
 public ExperimentStatus setupAllExperiments() {
   List<Alternative> runnableAlternatives = getRunnableAlternatives();
   experimentStatus.experimentSetup(
       runnableAlternatives, plan.getSampleRecordsDefinition().getRecords());
   return experimentStatus;
 }
예제 #2
0
 /**
  * Sets up the experiment for a single alternative.
  *
  * @param alternative the alternative to set up
  * @return the current experiment status
  */
 public ExperimentStatus setupExperiment(Alternative alternative) {
   experimentStatus.experimentSetup(
       Arrays.asList(alternative), plan.getSampleRecordsDefinition().getRecords());
   return experimentStatus;
 }