Class SubSingleBenchmarkResult
java.lang.Object
org.optaplanner.benchmark.impl.result.SubSingleBenchmarkResult
- All Implemented Interfaces:
- BenchmarkResult
Represents 1 benchmark run for 1 Single Benchmark configuration for 1 
Solver configuration for 1 problem
 instance (data set).- 
Constructor SummaryConstructorsConstructorDescriptionSubSingleBenchmarkResult(SingleBenchmarkResult singleBenchmarkResult, int subSingleBenchmarkIndex) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaccumulateResults(BenchmarkReport benchmarkReport) protected static SubSingleBenchmarkResultcreateMerge(SingleBenchmarkResult singleBenchmarkResult, SubSingleBenchmarkResult oldResult, int subSingleBenchmarkIndex) Score<?>getName()Score<?>getScore()longintgetSubSingleStatistic(StatisticType statisticType) longbooleanbooleanvoidbooleanbooleanbooleanisWinner()voidmakeDirs()voidsetPureSubSingleStatisticList(List<PureSubSingleStatistic> pureSubSingleStatisticList) voidsetRanking(Integer ranking) voidvoidsetScoreCalculationCount(long scoreCalculationCount) voidsetScoreExplanationSummary(String scoreExplanationSummary) voidsetSingleBenchmarkResult(SingleBenchmarkResult singleBenchmarkResult) voidsetSucceeded(Boolean succeeded) voidsetTimeMillisSpent(long timeMillisSpent) voidsetUsedMemoryAfterInputSolution(Long usedMemoryAfterInputSolution) toString()
- 
Constructor Details- 
SubSingleBenchmarkResultpublic SubSingleBenchmarkResult(SingleBenchmarkResult singleBenchmarkResult, int subSingleBenchmarkIndex) 
 
- 
- 
Method Details- 
getPureSubSingleStatisticList
- 
setPureSubSingleStatisticList
- 
initSubSingleStatisticMappublic void initSubSingleStatisticMap()
- 
getSingleBenchmarkResult
- 
setSingleBenchmarkResult
- 
getSubSingleBenchmarkIndexpublic int getSubSingleBenchmarkIndex()
- 
getEffectiveSubSingleStatisticMap
- 
getUsedMemoryAfterInputSolution- Returns:
- null if PlannerBenchmarkResult.hasMultipleParallelBenchmarks()return true
 
- 
setUsedMemoryAfterInputSolution
- 
getSucceeded
- 
setSucceeded
- 
getScore
- 
setScore
- 
getTimeMillisSpentpublic long getTimeMillisSpent()
- 
setTimeMillisSpentpublic void setTimeMillisSpent(long timeMillisSpent) 
- 
getScoreCalculationCountpublic long getScoreCalculationCount()
- 
setScoreCalculationCountpublic void setScoreCalculationCount(long scoreCalculationCount) 
- 
getScoreExplanationSummary
- 
setScoreExplanationSummary
- 
getRanking
- 
setRanking
- 
getName- Specified by:
- getNamein interface- BenchmarkResult
- Returns:
- never null, filename safe
 
- 
hasAllSuccesspublic boolean hasAllSuccess()- Specified by:
- hasAllSuccessin interface- BenchmarkResult
- Returns:
- true if all child benchmarks were a success and the variable is initialized
 
- 
isInitializedpublic boolean isInitialized()
- 
hasAnyFailurepublic boolean hasAnyFailure()- Specified by:
- hasAnyFailurein interface- BenchmarkResult
- Returns:
- true if there is a failed child benchmark and the variable is initialized
 
- 
isScoreFeasiblepublic boolean isScoreFeasible()
- 
getScoreCalculationSpeed
- 
isWinnerpublic boolean isWinner()
- 
getSubSingleStatistic
- 
getAverageScore- Specified by:
- getAverageScorein interface- BenchmarkResult
 
- 
getResultDirectoryName- Specified by:
- getResultDirectoryNamein interface- BenchmarkResult
- Returns:
- the name of the directory that holds the benchmark's results
 
- 
getResultDirectory- Specified by:
- getResultDirectoryin interface- BenchmarkResult
- Returns:
- the benchmark result directory as a file
 
- 
makeDirspublic void makeDirs()
- 
accumulateResults
- 
createMergeprotected static SubSingleBenchmarkResult createMerge(SingleBenchmarkResult singleBenchmarkResult, SubSingleBenchmarkResult oldResult, int subSingleBenchmarkIndex) 
- 
toString
 
-