Class PlannerBenchmarkResult
java.lang.Object
org.optaplanner.benchmark.impl.result.PlannerBenchmarkResult
Represents the benchmarks on multiple
Solver
configurations on multiple problem instances (data sets).-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accumulateResults
(BenchmarkReport benchmarkReport) static PlannerBenchmarkResult
createMergedResult
(List<SingleBenchmarkResult> singleBenchmarkResultList) protected static PlannerBenchmarkResult
createMergeSingleton
(List<SingleBenchmarkResult> singleBenchmarkResultList) static PlannerBenchmarkResult
createUnmarshallingFailedResult
(String benchmarkReportDirectoryName) findScoreLevelLabel
(int scoreLevel) int
getName()
int
boolean
boolean
void
initBenchmarkReportDirectory
(File benchmarkDirectory) void
void
setAggregation
(Boolean aggregation) void
setBenchmarkReportDirectory
(File benchmarkReportDirectory) void
setBenchmarkTimeMillisSpent
(Long benchmarkTimeMillisSpent) void
void
setParallelBenchmarkCount
(Integer parallelBenchmarkCount) void
setSolverBenchmarkResultList
(List<SolverBenchmarkResult> solverBenchmarkResultList) void
setStartingTimestamp
(OffsetDateTime startingTimestamp) void
setUnifiedProblemBenchmarkResultList
(List<ProblemBenchmarkResult> unifiedProblemBenchmarkResultList) void
setWarmUpTimeMillisSpentLimit
(Long warmUpTimeMillisSpentLimit) toString()
-
Constructor Details
-
PlannerBenchmarkResult
public PlannerBenchmarkResult()
-
-
Method Details
-
getName
-
setName
-
getAggregation
-
setAggregation
-
getBenchmarkReportDirectory
-
setBenchmarkReportDirectory
-
getAvailableProcessors
-
getLoggingLevelOptaPlannerCore
-
getLoggingLevelDroolsCore
-
getMaxMemory
-
getJavaVersion
-
getJavaVM
-
getOperatingSystem
-
getOptaPlannerVersion
-
getParallelBenchmarkCount
-
setParallelBenchmarkCount
-
getWarmUpTimeMillisSpentLimit
-
setWarmUpTimeMillisSpentLimit
-
getEnvironmentMode
-
getSolverBenchmarkResultList
-
setSolverBenchmarkResultList
-
getUnifiedProblemBenchmarkResultList
-
setUnifiedProblemBenchmarkResultList
public void setUnifiedProblemBenchmarkResultList(List<ProblemBenchmarkResult> unifiedProblemBenchmarkResultList) -
getStartingTimestamp
-
setStartingTimestamp
-
getBenchmarkTimeMillisSpent
-
setBenchmarkTimeMillisSpent
-
getFailureCount
-
getAverageProblemScale
-
getAverageScore
-
getFavoriteSolverBenchmarkResult
-
hasMultipleParallelBenchmarks
public boolean hasMultipleParallelBenchmarks() -
hasAnyFailure
public boolean hasAnyFailure() -
getMaximumSubSingleCount
public int getMaximumSubSingleCount() -
findScoreLevelLabel
-
getStartingTimestampAsMediumString
-
initBenchmarkReportDirectory
-
initSystemProperties
public void initSystemProperties() -
getTotalSubSingleCount
public int getTotalSubSingleCount() -
accumulateResults
-
createMergedResult
public static PlannerBenchmarkResult createMergedResult(List<SingleBenchmarkResult> singleBenchmarkResultList) -
createMergeSingleton
protected static PlannerBenchmarkResult createMergeSingleton(List<SingleBenchmarkResult> singleBenchmarkResultList) -
createUnmarshallingFailedResult
public static PlannerBenchmarkResult createUnmarshallingFailedResult(String benchmarkReportDirectoryName) -
toString
-