Class ProblemBenchmarkResult<Solution_>
java.lang.Object
org.optaplanner.benchmark.impl.result.ProblemBenchmarkResult<Solution_>
Represents 1 problem instance (data set) benchmarked on multiple 
Solver configurations.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaccumulateResults(BenchmarkReport benchmarkReport) protected static <Solution_>
 Map<ProblemBenchmarkResult,ProblemBenchmarkResult> createMergeMap(PlannerBenchmarkResult newPlannerBenchmarkResult, List<SingleBenchmarkResult> singleBenchmarkResultList) booleanextractPureSubSingleStatisticList(SingleStatisticType singleStatisticType) findScoreLevelLabel(int scoreLevel) getName()intbooleanbooleanbooleaninthashCode()booleanhasProblemStatisticType(ProblemStatisticType problemStatisticType) booleanvoidmakeDirs()voidregisterScale(long registeringEntityCount, long registeringVariableCount, long registeringMaximumValueCount, long registeringProblemScale) HACK to avoid loading the problem just to extract its problemScale.voidvoidsetPlannerBenchmarkResult(PlannerBenchmarkResult plannerBenchmarkResult) voidsetProblemProvider(ProblemProvider<Solution_> problemProvider) voidsetProblemStatisticList(List<ProblemStatistic> problemStatisticList) voidsetSingleBenchmarkResultList(List<SingleBenchmarkResult> singleBenchmarkResultList) voidsetWriteOutputSolutionEnabled(boolean writeOutputSolutionEnabled) toString()voidwriteSolution(SubSingleBenchmarkResult subSingleBenchmarkResult, Solution_ solution) 
- 
Constructor Details- 
ProblemBenchmarkResult
 
- 
- 
Method Details- 
getPlannerBenchmarkResult
- 
setPlannerBenchmarkResult
- 
getName- Returns:
- never null, filename safe
 
- 
setName
- 
getProblemProvider
- 
setProblemProvider
- 
isWriteOutputSolutionEnabledpublic boolean isWriteOutputSolutionEnabled()
- 
setWriteOutputSolutionEnabledpublic void setWriteOutputSolutionEnabled(boolean writeOutputSolutionEnabled) 
- 
getProblemStatisticList
- 
setProblemStatisticList
- 
getSingleBenchmarkResultList
- 
setSingleBenchmarkResultList
- 
getEntityCount
- 
getVariableCount
- 
getMaximumValueCount
- 
getProblemScale
- 
getInputSolutionLoadingTimeMillisSpent
- 
getMaximumSubSingleCount
- 
getAverageUsedMemoryAfterInputSolution
- 
getFailureCount
- 
getWinningSingleBenchmarkResult
- 
getWorstSingleBenchmarkResult
- 
getWorstScoreCalculationSpeed
- 
getAnchorId
- 
findScoreLevelLabel
- 
getBenchmarkReportDirectory
- 
hasAnyFailurepublic boolean hasAnyFailure()
- 
hasAnySuccesspublic boolean hasAnySuccess()
- 
hasAnyStatisticpublic boolean hasAnyStatistic()
- 
hasProblemStatisticType
- 
extractSingleStatisticTypeList
- 
extractPureSubSingleStatisticListpublic List<PureSubSingleStatistic> extractPureSubSingleStatisticList(SingleStatisticType singleStatisticType) 
- 
getProblemReportDirectoryName
- 
getProblemReportDirectory
- 
makeDirspublic void makeDirs()
- 
getTotalSubSingleCountpublic int getTotalSubSingleCount()
- 
readProblem
- 
writeSolution
- 
accumulateResults
- 
registerScalepublic void registerScale(long registeringEntityCount, long registeringVariableCount, long registeringMaximumValueCount, long registeringProblemScale) HACK to avoid loading the problem just to extract its problemScale. Called multiple times, for everySingleBenchmarkResultof thisProblemBenchmarkResult.- Parameters:
- registeringEntityCount-- >= 0
- registeringVariableCount-- >= 0
- registeringProblemScale-- >= 0
 
- 
equals
- 
hashCodepublic int hashCode()
- 
createMergeMapprotected static <Solution_> Map<ProblemBenchmarkResult,ProblemBenchmarkResult> createMergeMap(PlannerBenchmarkResult newPlannerBenchmarkResult, List<SingleBenchmarkResult> singleBenchmarkResultList) 
- 
toString
 
-