Class ProblemBenchmarkResult<Solution_>
- java.lang.Object
- 
- org.optaplanner.benchmark.impl.result.ProblemBenchmarkResult<Solution_>
 
- 
- 
Constructor SummaryConstructors Constructor Description ProblemBenchmarkResult(PlannerBenchmarkResult plannerBenchmarkResult)
 - 
Method Summary
 
- 
- 
- 
Constructor Detail- 
ProblemBenchmarkResultpublic ProblemBenchmarkResult(PlannerBenchmarkResult plannerBenchmarkResult) 
 
- 
 - 
Method Detail- 
getPlannerBenchmarkResultpublic PlannerBenchmarkResult getPlannerBenchmarkResult() 
 - 
setPlannerBenchmarkResultpublic void setPlannerBenchmarkResult(PlannerBenchmarkResult plannerBenchmarkResult) 
 - 
getNamepublic String getName() - Returns:
- never null, filename safe
 
 - 
setNamepublic void setName(String name) 
 - 
getProblemProviderpublic ProblemProvider<Solution_> getProblemProvider() 
 - 
setProblemProviderpublic void setProblemProvider(ProblemProvider<Solution_> problemProvider) 
 - 
isWriteOutputSolutionEnabledpublic boolean isWriteOutputSolutionEnabled() 
 - 
setWriteOutputSolutionEnabledpublic void setWriteOutputSolutionEnabled(boolean writeOutputSolutionEnabled) 
 - 
getProblemStatisticListpublic List<ProblemStatistic> getProblemStatisticList() 
 - 
setProblemStatisticListpublic void setProblemStatisticList(List<ProblemStatistic> problemStatisticList) 
 - 
getSingleBenchmarkResultListpublic List<SingleBenchmarkResult> getSingleBenchmarkResultList() 
 - 
setSingleBenchmarkResultListpublic void setSingleBenchmarkResultList(List<SingleBenchmarkResult> singleBenchmarkResultList) 
 - 
getEntityCountpublic Long getEntityCount() 
 - 
getVariableCountpublic Long getVariableCount() 
 - 
getMaximumValueCountpublic Long getMaximumValueCount() 
 - 
getProblemScalepublic Long getProblemScale() 
 - 
getInputSolutionLoadingTimeMillisSpentpublic Long getInputSolutionLoadingTimeMillisSpent() 
 - 
getMaximumSubSingleCountpublic Integer getMaximumSubSingleCount() 
 - 
getAverageUsedMemoryAfterInputSolutionpublic Long getAverageUsedMemoryAfterInputSolution() 
 - 
getFailureCountpublic Integer getFailureCount() 
 - 
getWinningSingleBenchmarkResultpublic SingleBenchmarkResult getWinningSingleBenchmarkResult() 
 - 
getWorstSingleBenchmarkResultpublic SingleBenchmarkResult getWorstSingleBenchmarkResult() 
 - 
getWorstScoreCalculationSpeedpublic Long getWorstScoreCalculationSpeed() 
 - 
getAnchorIdpublic String getAnchorId() 
 - 
findScoreLevelLabelpublic String findScoreLevelLabel(int scoreLevel) 
 - 
getBenchmarkReportDirectorypublic File getBenchmarkReportDirectory() 
 - 
hasAnyFailurepublic boolean hasAnyFailure() 
 - 
hasAnySuccesspublic boolean hasAnySuccess() 
 - 
hasAnyStatisticpublic boolean hasAnyStatistic() 
 - 
hasProblemStatisticTypepublic boolean hasProblemStatisticType(ProblemStatisticType problemStatisticType) 
 - 
extractSingleStatisticTypeListpublic Collection<SingleStatisticType> extractSingleStatisticTypeList() 
 - 
extractPureSubSingleStatisticListpublic List<PureSubSingleStatistic> extractPureSubSingleStatisticList(SingleStatisticType singleStatisticType) 
 - 
getProblemReportDirectoryNamepublic String getProblemReportDirectoryName() 
 - 
getProblemReportDirectorypublic File getProblemReportDirectory() 
 - 
makeDirspublic void makeDirs() 
 - 
getTotalSubSingleCountpublic int getTotalSubSingleCount() 
 - 
readProblempublic Solution_ readProblem() 
 - 
writeSolutionpublic void writeSolution(SubSingleBenchmarkResult subSingleBenchmarkResult, Solution_ solution) 
 - 
accumulateResultspublic void accumulateResults(BenchmarkReport benchmarkReport) 
 - 
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
 
 - 
equalspublic boolean equals(Object o) 
 - 
createMergeMapprotected static <Solution_> Map<ProblemBenchmarkResult,ProblemBenchmarkResult> createMergeMap(PlannerBenchmarkResult newPlannerBenchmarkResult, List<SingleBenchmarkResult> singleBenchmarkResultList) 
 
- 
 
-