Package org.jamesii.core.experiments.replication

Examples of org.jamesii.core.experiments.replication.RepNumberCriterionFactory


    ParameterBlock paramBlock = super.getExperimentParameters();
    if (getPhase() == ExplorationPhase.EXPLORATION) {
      List<ParameterizedFactory<RepCriterionFactory>> repCriterionFactories =
          new ArrayList<>();
      repCriterionFactories.add(new ParameterizedFactory<RepCriterionFactory>(
          new RepNumberCriterionFactory(), new ParameterBlock().addSubBl(
              RepNumberCriterionFactory.NUM_REPS, getNumOfReplications())));
      paramBlock.addSubBlock(
          ExperimentVariables.REPLICATION_CRITERION_FACTORIES,
          repCriterionFactories);
    }
View Full Code Here


  public ParameterBlock getExperimentParameters() {
    ParameterBlock result = new ParameterBlock();
    List<ParameterizedFactory<RepCriterionFactory>> repCritFactoryList =
        new ArrayList<>();
    repCritFactoryList.add(new ParameterizedFactory<RepCriterionFactory>(
        new RepNumberCriterionFactory(), new ParameterBlock().addSubBl(
            RepNumberCriterionFactory.NUM_REPS, replications)));
    result.addSubBlock(ExperimentVariables.REPLICATION_CRITERION_FACTORIES,
        repCritFactoryList);
    return result;
  }
View Full Code Here

      throw new IllegalArgumentException(
          "Number of replications must be positive, but is: " + repeatRuns);
    }
    repCriterionFactory =
        new ParameterizedFactory<RepCriterionFactory>(
            new RepNumberCriterionFactory(), new ParameterBlock().addSubBl(
                RepNumberCriterionFactory.NUM_REPS, repeatRuns));
  }
View Full Code Here

TOP

Related Classes of org.jamesii.core.experiments.replication.RepNumberCriterionFactory

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.