Class ProblemStatistic
- java.lang.Object
-
- org.optaplanner.benchmark.impl.statistic.ProblemStatistic
-
- Direct Known Subclasses:
BestScoreProblemStatistic,BestSolutionMutationProblemStatistic,MemoryUseProblemStatistic,MoveCountPerStepProblemStatistic,ScoreCalculationSpeedProblemStatistic,StepScoreProblemStatistic
public abstract class ProblemStatistic extends Object
1 statistic ofProblemBenchmarkResult.
-
-
Field Summary
Fields Modifier and Type Field Description protected ProblemBenchmarkResult<Object>problemBenchmarkResultprotected ProblemStatisticTypeproblemStatisticTypeprotected List<String>warningList
-
Constructor Summary
Constructors Modifier Constructor Description ProblemStatistic()protectedProblemStatistic(ProblemBenchmarkResult problemBenchmarkResult, ProblemStatisticType problemStatisticType)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaccumulateResults(BenchmarkReport benchmarkReport)abstract SubSingleStatisticcreateSubSingleStatistic(SubSingleBenchmarkResult subSingleBenchmarkResult)protected voidfillWarningList()StringgetAnchorId()FilegetGraphFile()abstract List<File>getGraphFileList()ProblemBenchmarkResultgetProblemBenchmarkResult()ProblemStatisticTypegetProblemStatisticType()List<SubSingleStatistic>getSubSingleStatisticList()List<String>getWarningList()voidsetProblemBenchmarkResult(ProblemBenchmarkResult problemBenchmarkResult)StringtoString()protected FilewriteChartToImageFile(org.jfree.chart.JFreeChart chart, String fileNameBase)abstract voidwriteGraphFiles(BenchmarkReport benchmarkReport)
-
-
-
Field Detail
-
problemBenchmarkResult
protected ProblemBenchmarkResult<Object> problemBenchmarkResult
-
problemStatisticType
protected final ProblemStatisticType problemStatisticType
-
-
Constructor Detail
-
ProblemStatistic
public ProblemStatistic()
-
ProblemStatistic
protected ProblemStatistic(ProblemBenchmarkResult problemBenchmarkResult, ProblemStatisticType problemStatisticType)
-
-
Method Detail
-
getProblemBenchmarkResult
public ProblemBenchmarkResult getProblemBenchmarkResult()
-
setProblemBenchmarkResult
public void setProblemBenchmarkResult(ProblemBenchmarkResult problemBenchmarkResult)
-
getProblemStatisticType
public ProblemStatisticType getProblemStatisticType()
-
getAnchorId
public String getAnchorId()
-
getSubSingleStatisticList
public List<SubSingleStatistic> getSubSingleStatisticList()
-
createSubSingleStatistic
public abstract SubSingleStatistic createSubSingleStatistic(SubSingleBenchmarkResult subSingleBenchmarkResult)
-
accumulateResults
public void accumulateResults(BenchmarkReport benchmarkReport)
-
writeGraphFiles
public abstract void writeGraphFiles(BenchmarkReport benchmarkReport)
-
fillWarningList
protected void fillWarningList()
-
writeChartToImageFile
protected File writeChartToImageFile(org.jfree.chart.JFreeChart chart, String fileNameBase)
-
getGraphFile
public File getGraphFile()
-
-