Class ProblemStatistic
java.lang.Object
org.optaplanner.benchmark.impl.statistic.ProblemStatistic
- Direct Known Subclasses:
BestScoreProblemStatistic
,BestSolutionMutationProblemStatistic
,MemoryUseProblemStatistic
,MoveCountPerStepProblemStatistic
,ScoreCalculationSpeedProblemStatistic
,StepScoreProblemStatistic
1 statistic of
ProblemBenchmarkResult
.-
Field Summary
Modifier and TypeFieldDescriptionprotected ProblemBenchmarkResult<Object>
protected final ProblemStatisticType
-
Constructor Summary
ModifierConstructorDescriptionprotected
ProblemStatistic
(ProblemBenchmarkResult problemBenchmarkResult, ProblemStatisticType problemStatisticType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accumulateResults
(BenchmarkReport benchmarkReport) abstract SubSingleStatistic
createSubSingleStatistic
(SubSingleBenchmarkResult subSingleBenchmarkResult) protected void
void
setProblemBenchmarkResult
(ProblemBenchmarkResult problemBenchmarkResult) toString()
protected File
writeChartToImageFile
(org.jfree.chart.JFreeChart chart, String fileNameBase) abstract void
writeGraphFiles
(BenchmarkReport benchmarkReport)
-
Field Details
-
problemBenchmarkResult
-
problemStatisticType
-
warningList
-
-
Constructor Details
-
ProblemStatistic
public ProblemStatistic() -
ProblemStatistic
protected ProblemStatistic(ProblemBenchmarkResult problemBenchmarkResult, ProblemStatisticType problemStatisticType)
-
-
Method Details
-
getProblemBenchmarkResult
-
setProblemBenchmarkResult
-
getProblemStatisticType
-
getAnchorId
-
getWarningList
-
getSubSingleStatisticList
-
createSubSingleStatistic
public abstract SubSingleStatistic createSubSingleStatistic(SubSingleBenchmarkResult subSingleBenchmarkResult) -
accumulateResults
-
writeGraphFiles
-
fillWarningList
protected void fillWarningList() -
writeChartToImageFile
-
getGraphFile
-
getGraphFileList
-
toString
-