public class PlannerBenchmarkConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PARALLEL_BENCHMARK_COUNT_AUTO |
static Pattern |
VALID_NAME_PATTERN |
Constructor and Description |
---|
PlannerBenchmarkConfig() |
public static final String PARALLEL_BENCHMARK_COUNT_AUTO
public static final Pattern VALID_NAME_PATTERN
public String getName()
public void setName(String name)
public File getBenchmarkDirectory()
public void setBenchmarkDirectory(File benchmarkDirectory)
public Class<? extends ThreadFactory> getThreadFactoryClass()
public void setThreadFactoryClass(Class<? extends ThreadFactory> threadFactoryClass)
public String getParallelBenchmarkCount()
If there aren't enough processors available, it will be decreased.
public void setParallelBenchmarkCount(String parallelBenchmarkCount)
public Long getWarmUpMillisecondsSpentLimit()
public void setWarmUpMillisecondsSpentLimit(Long warmUpMillisecondsSpentLimit)
public Long getWarmUpSecondsSpentLimit()
public void setWarmUpSecondsSpentLimit(Long warmUpSecondsSpentLimit)
public Long getWarmUpMinutesSpentLimit()
public void setWarmUpMinutesSpentLimit(Long warmUpMinutesSpentLimit)
public Long getWarmUpHoursSpentLimit()
public void setWarmUpHoursSpentLimit(Long warmUpHoursSpentLimit)
public Long getWarmUpDaysSpentLimit()
public void setWarmUpDaysSpentLimit(Long warmUpDaysSpentLimit)
public BenchmarkReportConfig getBenchmarkReportConfig()
public void setBenchmarkReportConfig(BenchmarkReportConfig benchmarkReportConfig)
public SolverBenchmarkConfig getInheritedSolverBenchmarkConfig()
public void setInheritedSolverBenchmarkConfig(SolverBenchmarkConfig inheritedSolverBenchmarkConfig)
public List<SolverBenchmarkBluePrintConfig> getSolverBenchmarkBluePrintConfigList()
public void setSolverBenchmarkBluePrintConfigList(List<SolverBenchmarkBluePrintConfig> solverBenchmarkBluePrintConfigList)
public List<SolverBenchmarkConfig> getSolverBenchmarkConfigList()
public void setSolverBenchmarkConfigList(List<SolverBenchmarkConfig> solverBenchmarkConfigList)
public PlannerBenchmark buildPlannerBenchmark()
public PlannerBenchmark buildPlannerBenchmark(SolverConfigContext solverConfigContext)
public <Solution_> PlannerBenchmark buildPlannerBenchmark(SolverConfigContext solverConfigContext, Solution_[] extraProblems)
protected void validate()
protected void generateSolverBenchmarkConfigNames()
protected List<SolverBenchmarkConfig> buildEffectiveSolverBenchmarkConfigList()
protected int resolveParallelBenchmarkCount()
protected int resolveParallelBenchmarkCountAutomatically(int availableProcessorCount)
protected Long calculateWarmUpTimeMillisSpentLimit()
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.