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 org.optaplanner.persistence.common.api.domain.solution.SolutionFileIO getSolutionFileIO()
public void setSolutionFileIO(org.optaplanner.persistence.common.api.domain.solution.SolutionFileIO solutionFileIO)
public boolean isWriteOutputSolutionEnabled()
public void setWriteOutputSolutionEnabled(boolean writeOutputSolutionEnabled)
public File getInputSolutionFile()
public void setInputSolutionFile(File inputSolutionFile)
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 getProblemScale()
public Integer getMaximumSubSingleCount()
public Long getAverageUsedMemoryAfterInputSolution()
public Integer getFailureCount()
public SingleBenchmarkResult getWinningSingleBenchmarkResult()
public SingleBenchmarkResult getWorstSingleBenchmarkResult()
public String getAnchorId()
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 getProblemReportDirectoryPath()
public File getProblemReportDirectory()
public void makeDirs()
public int getTotalSubSingleCount()
public Solution readPlanningProblem()
public void writeOutputSolution(SubSingleBenchmarkResult subSingleBenchmarkResult, Solution outputSolution)
public void accumulateResults(BenchmarkReport benchmarkReport)
public void registerScale(long registeringEntityCount, long registeringVariableCount, long registeringProblemScale)
SingleBenchmarkResult
of this ProblemBenchmarkResult
.registeringEntityCount
- >= 0
registeringVariableCount
- >= 0
registeringProblemScale
- >= 0
public boolean equals(Object o)
protected static Map<ProblemBenchmarkResult,ProblemBenchmarkResult> createMergeMap(PlannerBenchmarkResult newPlannerBenchmarkResult, List<SingleBenchmarkResult> singleBenchmarkResultList)
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.