org.optaplanner.benchmark.config
Class PlannerBenchmarkConfig
java.lang.Object
org.optaplanner.benchmark.config.PlannerBenchmarkConfig
public class PlannerBenchmarkConfig
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARALLEL_BENCHMARK_COUNT_AUTO
public static final String PARALLEL_BENCHMARK_COUNT_AUTO
- See Also:
- Constant Field Values
AVAILABLE_PROCESSOR_COUNT
public static final String AVAILABLE_PROCESSOR_COUNT
- See Also:
Runtime.availableProcessors()
,
Constant Field Values
logger
protected final transient org.slf4j.Logger logger
PlannerBenchmarkConfig
public PlannerBenchmarkConfig()
getName
public String getName()
setName
public void setName(String name)
getBenchmarkDirectory
public File getBenchmarkDirectory()
setBenchmarkDirectory
public void setBenchmarkDirectory(File benchmarkDirectory)
getParallelBenchmarkCount
public String getParallelBenchmarkCount()
- Using multiple parallel benchmarks can decrease the reliability of the results.
If there aren't enough processors available, it will be decreased.
- Returns:
- null, "AUTO"
or a JavaScript calculation using "availableProcessorCount".
setParallelBenchmarkCount
public void setParallelBenchmarkCount(String parallelBenchmarkCount)
getWarmUpMillisecondsSpentLimit
public Long getWarmUpMillisecondsSpentLimit()
setWarmUpMillisecondsSpentLimit
public void setWarmUpMillisecondsSpentLimit(Long warmUpMillisecondsSpentLimit)
getWarmUpSecondsSpentLimit
public Long getWarmUpSecondsSpentLimit()
setWarmUpSecondsSpentLimit
public void setWarmUpSecondsSpentLimit(Long warmUpSecondsSpentLimit)
getWarmUpMinutesSpentLimit
public Long getWarmUpMinutesSpentLimit()
setWarmUpMinutesSpentLimit
public void setWarmUpMinutesSpentLimit(Long warmUpMinutesSpentLimit)
getWarmUpHoursSpentLimit
public Long getWarmUpHoursSpentLimit()
setWarmUpHoursSpentLimit
public void setWarmUpHoursSpentLimit(Long warmUpHoursSpentLimit)
getBenchmarkReportConfig
public BenchmarkReportConfig getBenchmarkReportConfig()
setBenchmarkReportConfig
public void setBenchmarkReportConfig(BenchmarkReportConfig benchmarkReportConfig)
getInheritedSolverBenchmarkConfig
public SolverBenchmarkConfig getInheritedSolverBenchmarkConfig()
setInheritedSolverBenchmarkConfig
public void setInheritedSolverBenchmarkConfig(SolverBenchmarkConfig inheritedSolverBenchmarkConfig)
getSolverBenchmarkBluePrintConfigList
public List<SolverBenchmarkBluePrintConfig> getSolverBenchmarkBluePrintConfigList()
setSolverBenchmarkBluePrintConfigList
public void setSolverBenchmarkBluePrintConfigList(List<SolverBenchmarkBluePrintConfig> solverBenchmarkBluePrintConfigList)
getSolverBenchmarkConfigList
public List<SolverBenchmarkConfig> getSolverBenchmarkConfigList()
setSolverBenchmarkConfigList
public void setSolverBenchmarkConfigList(List<SolverBenchmarkConfig> solverBenchmarkConfigList)
buildPlannerBenchmark
public PlannerBenchmark buildPlannerBenchmark()
validate
protected void validate()
generateSolverBenchmarkConfigNames
protected void generateSolverBenchmarkConfigNames()
buildEffectiveSolverBenchmarkConfigList
protected List<SolverBenchmarkConfig> buildEffectiveSolverBenchmarkConfigList()
resolveParallelBenchmarkCount
protected int resolveParallelBenchmarkCount()
calculateWarmUpTimeMillisSpentLimit
protected long calculateWarmUpTimeMillisSpentLimit()
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.