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 Summary
ConstructorsConstructorDescriptionSubSingleBenchmarkResult(SingleBenchmarkResult singleBenchmarkResult, int subSingleBenchmarkIndex)  - 
Method Summary
Modifier 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
- 
SubSingleBenchmarkResult
public SubSingleBenchmarkResult(SingleBenchmarkResult singleBenchmarkResult, int subSingleBenchmarkIndex)  
 - 
 - 
Method Details
- 
getPureSubSingleStatisticList
 - 
setPureSubSingleStatisticList
 - 
initSubSingleStatisticMap
public void initSubSingleStatisticMap() - 
getSingleBenchmarkResult
 - 
setSingleBenchmarkResult
 - 
getSubSingleBenchmarkIndex
public int getSubSingleBenchmarkIndex() - 
getEffectiveSubSingleStatisticMap
 - 
getUsedMemoryAfterInputSolution
- Returns:
 - null if 
PlannerBenchmarkResult.hasMultipleParallelBenchmarks()return true 
 - 
setUsedMemoryAfterInputSolution
 - 
getSucceeded
 - 
setSucceeded
 - 
getScore
 - 
setScore
 - 
getTimeMillisSpent
public long getTimeMillisSpent() - 
setTimeMillisSpent
public void setTimeMillisSpent(long timeMillisSpent)  - 
getScoreCalculationCount
public long getScoreCalculationCount() - 
setScoreCalculationCount
public void setScoreCalculationCount(long scoreCalculationCount)  - 
getScoreExplanationSummary
 - 
setScoreExplanationSummary
 - 
getRanking
 - 
setRanking
 - 
getName
- Specified by:
 getNamein interfaceBenchmarkResult- Returns:
 - never null, filename safe
 
 - 
hasAllSuccess
public boolean hasAllSuccess()- Specified by:
 hasAllSuccessin interfaceBenchmarkResult- Returns:
 - true if all child benchmarks were a success and the variable is initialized
 
 - 
isInitialized
public boolean isInitialized() - 
hasAnyFailure
public boolean hasAnyFailure()- Specified by:
 hasAnyFailurein interfaceBenchmarkResult- Returns:
 - true if there is a failed child benchmark and the variable is initialized
 
 - 
isScoreFeasible
public boolean isScoreFeasible() - 
getScoreCalculationSpeed
 - 
isWinner
public boolean isWinner() - 
getSubSingleStatistic
 - 
getAverageScore
- Specified by:
 getAverageScorein interfaceBenchmarkResult
 - 
getResultDirectoryName
- Specified by:
 getResultDirectoryNamein interfaceBenchmarkResult- Returns:
 - the name of the directory that holds the benchmark's results
 
 - 
getResultDirectory
- Specified by:
 getResultDirectoryin interfaceBenchmarkResult- Returns:
 - the benchmark result directory as a file
 
 - 
makeDirs
public void makeDirs() - 
accumulateResults
 - 
createMerge
protected static SubSingleBenchmarkResult createMerge(SingleBenchmarkResult singleBenchmarkResult, SubSingleBenchmarkResult oldResult, int subSingleBenchmarkIndex)  - 
toString
 
 -