Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
Constructor and Description |
---|
ProblemBenchmarkResult(PlannerBenchmarkResult plannerBenchmarkResult) |
public ProblemBenchmarkResult(PlannerBenchmarkResult plannerBenchmarkResult)
public PlannerBenchmarkResult getPlannerBenchmarkResult()
public void setPlannerBenchmarkResult(PlannerBenchmarkResult plannerBenchmarkResult)
public String getName()
public void setName(String name)
public ProblemProvider<Solution_> getProblemProvider()
public void setProblemProvider(ProblemProvider<Solution_> problemProvider)
public boolean isWriteOutputSolutionEnabled()
public void setWriteOutputSolutionEnabled(boolean writeOutputSolutionEnabled)
public List<ProblemStatistic> getProblemStatisticList()
public void setProblemStatisticList(List<ProblemStatistic> problemStatisticList)
public List<SingleBenchmarkResult> getSingleBenchmarkResultList()
public void setSingleBenchmarkResultList(List<SingleBenchmarkResult> singleBenchmarkResultList)
public Long getEntityCount()
public Long getVariableCount()
public Long getMaximumValueCount()
public Long getProblemScale()
public Integer getMaximumSubSingleCount()
public Long getAverageUsedMemoryAfterInputSolution()
public Integer getFailureCount()
public SingleBenchmarkResult getWinningSingleBenchmarkResult()
public SingleBenchmarkResult getWorstSingleBenchmarkResult()
public Long getWorstScoreCalculationSpeed()
public String getAnchorId()
public String findScoreLevelLabel(int scoreLevel)
public File getBenchmarkReportDirectory()
public boolean hasAnyFailure()
public boolean hasAnySuccess()
public boolean hasAnyStatistic()
public boolean hasProblemStatisticType(ProblemStatisticType problemStatisticType)
public Collection<SingleStatisticType> extractSingleStatisticTypeList()
public List<PureSubSingleStatistic> extractPureSubSingleStatisticList(SingleStatisticType singleStatisticType)
public String getProblemReportDirectoryName()
public File getProblemReportDirectory()
public void makeDirs()
public int getTotalSubSingleCount()
public Solution_ readProblem()
public void writeSolution(SubSingleBenchmarkResult subSingleBenchmarkResult, Solution_ solution)
public void accumulateResults(BenchmarkReport benchmarkReport)
public void registerScale(long registeringEntityCount, long registeringVariableCount, long registeringMaximumValueCount, long registeringProblemScale)
SingleBenchmarkResult
of this ProblemBenchmarkResult
.registeringEntityCount
- >= 0
registeringVariableCount
- >= 0
registeringProblemScale
- >= 0
public boolean equals(Object o)
protected static <Solution_> Map<ProblemBenchmarkResult,ProblemBenchmarkResult> createMergeMap(PlannerBenchmarkResult newPlannerBenchmarkResult, List<SingleBenchmarkResult> singleBenchmarkResultList)
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.