Class PureSubSingleStatistic<Solution_,StatisticPoint_ extends StatisticPoint>
- java.lang.Object
-
- org.optaplanner.benchmark.impl.statistic.SubSingleStatistic<Solution_,StatisticPoint_>
-
- org.optaplanner.benchmark.impl.statistic.PureSubSingleStatistic<Solution_,StatisticPoint_>
-
- Direct Known Subclasses:
ConstraintMatchTotalBestScoreSubSingleStatistic,ConstraintMatchTotalStepScoreSubSingleStatistic,PickedMoveTypeBestScoreDiffSubSingleStatistic,PickedMoveTypeStepScoreDiffSubSingleStatistic
public abstract class PureSubSingleStatistic<Solution_,StatisticPoint_ extends StatisticPoint> extends SubSingleStatistic<Solution_,StatisticPoint_>
1 statistic ofSubSingleBenchmarkResult.
-
-
Field Summary
Fields Modifier and Type Field Description protected SingleStatisticTypesingleStatisticType-
Fields inherited from class org.optaplanner.benchmark.impl.statistic.SubSingleStatistic
logger, pointList, subSingleBenchmarkResult
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPureSubSingleStatistic(SubSingleBenchmarkResult subSingleBenchmarkResult, SingleStatisticType singleStatisticType)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description FilegetGraphFile()abstract List<File>getGraphFileList()SingleStatisticTypegetStatisticType()StringtoString()protected FilewriteChartToImageFile(org.jfree.chart.JFreeChart chart, String fileNameBase)abstract voidwriteGraphFiles(BenchmarkReport benchmarkReport)-
Methods inherited from class org.optaplanner.benchmark.impl.statistic.SubSingleStatistic
close, createPointFromCsvLine, getAnchorId, getCsvFile, getCsvFileName, getCsvHeader, getPointList, getRelativeCsvFilePath, getSubSingleBenchmarkResult, hibernatePointList, initPointList, open, setPointList, setSubSingleBenchmarkResult, unhibernatePointList
-
-
-
-
Field Detail
-
singleStatisticType
protected final SingleStatisticType singleStatisticType
-
-
Constructor Detail
-
PureSubSingleStatistic
protected PureSubSingleStatistic(SubSingleBenchmarkResult subSingleBenchmarkResult, SingleStatisticType singleStatisticType)
-
-
Method Detail
-
getStatisticType
public SingleStatisticType getStatisticType()
- Specified by:
getStatisticTypein classSubSingleStatistic<Solution_,StatisticPoint_ extends StatisticPoint>
-
writeGraphFiles
public abstract void writeGraphFiles(BenchmarkReport benchmarkReport)
-
writeChartToImageFile
protected File writeChartToImageFile(org.jfree.chart.JFreeChart chart, String fileNameBase)
-
getGraphFile
public File getGraphFile()
-
-