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 of 
SubSingleBenchmarkResult.- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final org.slf4j.Loggerprotected List<StatisticPoint_>protected SubSingleBenchmarkResult
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedprotectedSubSingleStatistic(SubSingleBenchmarkResult subSingleBenchmarkResult) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose(StatisticRegistry<Solution_> registry, io.micrometer.core.instrument.Tags runTag, Solver<Solution_> solver) protected abstract StatisticPoint_createPointFromCsvLine(ScoreDefinition<?> scoreDefinition, List<String> csvLine) protected abstract Stringabstract StatisticTypevoidvoidabstract voidopen(StatisticRegistry<Solution_> registry, io.micrometer.core.instrument.Tags runTag, Solver<Solution_> solver) voidsetPointList(List<StatisticPoint_> pointList) voidsetSubSingleBenchmarkResult(SubSingleBenchmarkResult subSingleBenchmarkResult) void
- 
Field Details- 
loggerprotected final transient org.slf4j.Logger logger
- 
subSingleBenchmarkResult
- 
pointList
 
- 
- 
Constructor Details- 
SubSingleStatisticprotected SubSingleStatistic()
- 
SubSingleStatistic
 
- 
- 
Method Details- 
getSubSingleBenchmarkResult
- 
setSubSingleBenchmarkResult
- 
getStatisticType
- 
getPointList
- 
setPointList
- 
getRelativeCsvFilePath- Returns:
- never null, the relative path from PlannerBenchmarkResult.getBenchmarkReportDirectory().
 
- 
getCsvFileName
- 
getCsvFile
- 
openpublic abstract void open(StatisticRegistry<Solution_> registry, io.micrometer.core.instrument.Tags runTag, Solver<Solution_> solver) 
- 
closepublic void close(StatisticRegistry<Solution_> registry, io.micrometer.core.instrument.Tags runTag, Solver<Solution_> solver) 
- 
initPointListpublic void initPointList()
- 
getCsvHeader
- 
unhibernatePointListpublic void unhibernatePointList()
- 
hibernatePointListpublic void hibernatePointList()
- 
createPointFromCsvLineprotected abstract StatisticPoint_ createPointFromCsvLine(ScoreDefinition<?> scoreDefinition, List<String> csvLine) 
- 
getAnchorId
 
-