static OptionArg<Integer> createRepetitionsOpt(Builder builder) { return Option .builder("r", ArgumentParser.intParser()) .longName("repetitions") .description( "Sets the number of repetitions of each setting, default: ", builder.repetitions) .build(); }
static OptionArg<Integer> createThreadsOpt(Experiment.Builder builder) { return Option .builder("t", ArgumentParser.intParser()) .longName("threads") .description( "Sets the number of threads to use in case of local computation, " + "default: ", builder.numThreads, ". This option can not be used together with --batches.") .build(); }
static OptionArg<Integer> createBatchesOpt(Builder expBuilder) { return Option.builder("b", ArgumentParser.intParser()) .longName("batches") .description( "Sets the number of batches to use in case of distributed " + "computation, default: ", expBuilder.numBatches, ". This option can not be used together with --threads.") .build(); }
static OptionArg<Integer> createCompositeSizeOpt(Builder expBuilder) { return Option.builder("cs", ArgumentParser.intParser()) .longName("composite-size") .description( "Sets the composite task size to use in case of distributed computation" + ", default: ", expBuilder.compositeTaskSize) .build(); }
static OptionArg<Integer> createSeedRepetitionsOpt(Builder builder) { return Option .builder("sr", ArgumentParser.intParser()) .longName("seed-repetitions") .description( "Sets the number of seed repetitions of each setting, default: ", builder.seedRepetitions) .build(); }
static OptionArg<Integer> createBatchesOpt(Builder expBuilder) { return Option.builder("b", ArgumentParser.intParser()) .longName("batches") .description( "Sets the number of batches to use in case of distributed " + "computation, default: ", expBuilder.numBatches, ". This option can not be used together with --threads.") .build(); }
static OptionArg<Integer> createCompositeSizeOpt(Builder expBuilder) { return Option.builder("cs", ArgumentParser.intParser()) .longName("composite-size") .description( "Sets the composite task size to use in case of distributed computation" + ", default: ", expBuilder.compositeTaskSize) .build(); }
static OptionArg<Integer> createSeedRepetitionsOpt(Builder builder) { return Option .builder("sr", ArgumentParser.intParser()) .longName("seed-repetitions") .description( "Sets the number of seed repetitions of each setting, default: ", builder.seedRepetitions) .build(); }
static OptionArg<Integer> createThreadsOpt(Experiment.Builder builder) { return Option .builder("t", ArgumentParser.intParser()) .longName("threads") .description( "Sets the number of threads to use in case of local computation, " + "default: ", builder.numThreads, ". This option can not be used together with --batches.") .build(); }
static OptionArg<Integer> createRepetitionsOpt(Builder builder) { return Option .builder("r", ArgumentParser.intParser()) .longName("repetitions") .description( "Sets the number of repetitions of each setting, default: ", builder.repetitions) .build(); }