Class SubSingleBenchmarkResult
- java.lang.Object
- 
- org.optaplanner.benchmark.impl.result.SubSingleBenchmarkResult
 
- 
- All Implemented Interfaces:
- BenchmarkResult
 
 public class SubSingleBenchmarkResult extends Object implements BenchmarkResult Represents 1 benchmark run for 1 Single Benchmark configuration for 1Solverconfiguration for 1 problem instance (data set).
- 
- 
Constructor SummaryConstructors Constructor Description SubSingleBenchmarkResult(SingleBenchmarkResult singleBenchmarkResult, int subSingleBenchmarkIndex)
 - 
Method Summary
 
- 
- 
- 
Constructor Detail- 
SubSingleBenchmarkResultpublic SubSingleBenchmarkResult(SingleBenchmarkResult singleBenchmarkResult, int subSingleBenchmarkIndex) 
 
- 
 - 
Method Detail- 
getPureSubSingleStatisticListpublic List<PureSubSingleStatistic> getPureSubSingleStatisticList() 
 - 
setPureSubSingleStatisticListpublic void setPureSubSingleStatisticList(List<PureSubSingleStatistic> pureSubSingleStatisticList) 
 - 
initSubSingleStatisticMappublic void initSubSingleStatisticMap() 
 - 
getSingleBenchmarkResultpublic SingleBenchmarkResult getSingleBenchmarkResult() 
 - 
setSingleBenchmarkResultpublic void setSingleBenchmarkResult(SingleBenchmarkResult singleBenchmarkResult) 
 - 
getSubSingleBenchmarkIndexpublic int getSubSingleBenchmarkIndex() 
 - 
getEffectiveSubSingleStatisticMappublic Map<StatisticType,SubSingleStatistic> getEffectiveSubSingleStatisticMap() 
 - 
getUsedMemoryAfterInputSolutionpublic Long getUsedMemoryAfterInputSolution() - Returns:
- null if PlannerBenchmarkResult.hasMultipleParallelBenchmarks()return true
 
 - 
setUsedMemoryAfterInputSolutionpublic void setUsedMemoryAfterInputSolution(Long usedMemoryAfterInputSolution) 
 - 
getSucceededpublic Boolean getSucceeded() 
 - 
setSucceededpublic void setSucceeded(Boolean succeeded) 
 - 
getScorepublic Score<?> getScore() 
 - 
setScorepublic void setScore(Score<?> score) 
 - 
getTimeMillisSpentpublic long getTimeMillisSpent() 
 - 
setTimeMillisSpentpublic void setTimeMillisSpent(long timeMillisSpent) 
 - 
getScoreCalculationCountpublic long getScoreCalculationCount() 
 - 
setScoreCalculationCountpublic void setScoreCalculationCount(long scoreCalculationCount) 
 - 
getScoreExplanationSummarypublic String getScoreExplanationSummary() 
 - 
setScoreExplanationSummarypublic void setScoreExplanationSummary(String scoreExplanationSummary) 
 - 
getRankingpublic Integer getRanking() 
 - 
setRankingpublic void setRanking(Integer ranking) 
 - 
getNamepublic String 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() 
 - 
getScoreCalculationSpeedpublic Long getScoreCalculationSpeed() 
 - 
isWinnerpublic boolean isWinner() 
 - 
getSubSingleStatisticpublic SubSingleStatistic getSubSingleStatistic(StatisticType statisticType) 
 - 
getAverageScorepublic Score<?> getAverageScore() - Specified by:
- getAverageScorein interface- BenchmarkResult
 
 - 
getResultDirectoryNamepublic String getResultDirectoryName() - Specified by:
- getResultDirectoryNamein interface- BenchmarkResult
- Returns:
- the name of the directory that holds the benchmark's results
 
 - 
getResultDirectorypublic File getResultDirectory() - Specified by:
- getResultDirectoryin interface- BenchmarkResult
- Returns:
- the benchmark result directory as a file
 
 - 
makeDirspublic void makeDirs() 
 - 
accumulateResultspublic void accumulateResults(BenchmarkReport benchmarkReport) 
 - 
createMergeprotected static SubSingleBenchmarkResult createMerge(SingleBenchmarkResult singleBenchmarkResult, SubSingleBenchmarkResult oldResult, int subSingleBenchmarkIndex) 
 
- 
 
-