Class SubSingleStatistic<Solution_,StatisticPoint_ extends StatisticPoint>
- java.lang.Object
- 
- org.optaplanner.benchmark.impl.statistic.SubSingleStatistic<Solution_,StatisticPoint_>
 
- 
- Direct Known Subclasses:
- ProblemBasedSubSingleStatistic,- PureSubSingleStatistic
 
 public abstract class SubSingleStatistic<Solution_,StatisticPoint_ extends StatisticPoint> extends Object 1 statistic ofSubSingleBenchmarkResult.
- 
- 
Field SummaryFields Modifier and Type Field Description protected org.slf4j.Loggerloggerprotected List<StatisticPoint_>pointListprotected SubSingleBenchmarkResultsubSingleBenchmarkResult
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedSubSingleStatistic(SubSingleBenchmarkResult subSingleBenchmarkResult)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidclose(Solver<Solution_> solver)protected abstract StatisticPoint_createPointFromCsvLine(ScoreDefinition scoreDefinition, List<String> csvLine)StringgetAnchorId()FilegetCsvFile()StringgetCsvFileName()protected abstract StringgetCsvHeader()List<StatisticPoint_>getPointList()StringgetRelativeCsvFilePath()abstract StatisticTypegetStatisticType()SubSingleBenchmarkResultgetSubSingleBenchmarkResult()voidhibernatePointList()voidinitPointList()abstract voidopen(Solver<Solution_> solver)voidsetPointList(List<StatisticPoint_> pointList)voidsetSubSingleBenchmarkResult(SubSingleBenchmarkResult subSingleBenchmarkResult)voidunhibernatePointList()
 
- 
- 
- 
Field Detail- 
loggerprotected final transient org.slf4j.Logger logger 
 - 
subSingleBenchmarkResultprotected SubSingleBenchmarkResult subSingleBenchmarkResult 
 - 
pointListprotected List<StatisticPoint_ extends StatisticPoint> pointList 
 
- 
 - 
Constructor Detail- 
SubSingleStatisticprotected SubSingleStatistic(SubSingleBenchmarkResult subSingleBenchmarkResult) 
 
- 
 - 
Method Detail- 
getSubSingleBenchmarkResultpublic SubSingleBenchmarkResult getSubSingleBenchmarkResult() 
 - 
setSubSingleBenchmarkResultpublic void setSubSingleBenchmarkResult(SubSingleBenchmarkResult subSingleBenchmarkResult) 
 - 
getStatisticTypepublic abstract StatisticType getStatisticType() 
 - 
getPointListpublic List<StatisticPoint_> getPointList() 
 - 
setPointListpublic void setPointList(List<StatisticPoint_> pointList) 
 - 
getRelativeCsvFilePathpublic String getRelativeCsvFilePath() - Returns:
- never null, the relative path from PlannerBenchmarkResult.getBenchmarkReportDirectory().
 
 - 
getCsvFileNamepublic String getCsvFileName() 
 - 
getCsvFilepublic File getCsvFile() 
 - 
initPointListpublic void initPointList() 
 - 
getCsvHeaderprotected abstract String getCsvHeader() 
 - 
unhibernatePointListpublic void unhibernatePointList() 
 - 
hibernatePointListpublic void hibernatePointList() 
 - 
createPointFromCsvLineprotected abstract StatisticPoint_ createPointFromCsvLine(ScoreDefinition scoreDefinition, List<String> csvLine) 
 - 
getAnchorIdpublic String getAnchorId() 
 
- 
 
-