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 SummaryFields Modifier and Type Field Description protected ProblemBenchmarkResult<Object>problemBenchmarkResultprotected ProblemStatisticTypeproblemStatisticTypeprotected List<String>warningList
 - 
Constructor SummaryConstructors Modifier Constructor Description ProblemStatistic()protectedProblemStatistic(ProblemBenchmarkResult problemBenchmarkResult, ProblemStatisticType problemStatisticType)
 - 
Method SummaryAll 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- 
problemBenchmarkResultprotected ProblemBenchmarkResult<Object> problemBenchmarkResult 
 - 
problemStatisticTypeprotected final ProblemStatisticType problemStatisticType 
 
- 
 - 
Constructor Detail- 
ProblemStatisticpublic ProblemStatistic() 
 - 
ProblemStatisticprotected ProblemStatistic(ProblemBenchmarkResult problemBenchmarkResult, ProblemStatisticType problemStatisticType) 
 
- 
 - 
Method Detail- 
getProblemBenchmarkResultpublic ProblemBenchmarkResult getProblemBenchmarkResult() 
 - 
setProblemBenchmarkResultpublic void setProblemBenchmarkResult(ProblemBenchmarkResult problemBenchmarkResult) 
 - 
getProblemStatisticTypepublic ProblemStatisticType getProblemStatisticType() 
 - 
getAnchorIdpublic String getAnchorId() 
 - 
getSubSingleStatisticListpublic List<SubSingleStatistic> getSubSingleStatisticList() 
 - 
createSubSingleStatisticpublic abstract SubSingleStatistic createSubSingleStatistic(SubSingleBenchmarkResult subSingleBenchmarkResult) 
 - 
accumulateResultspublic void accumulateResults(BenchmarkReport benchmarkReport) 
 - 
writeGraphFilespublic abstract void writeGraphFiles(BenchmarkReport benchmarkReport) 
 - 
fillWarningListprotected void fillWarningList() 
 - 
writeChartToImageFileprotected File writeChartToImageFile(org.jfree.chart.JFreeChart chart, String fileNameBase) 
 - 
getGraphFilepublic File getGraphFile() 
 
- 
 
-