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 Summary
FieldsModifier and TypeFieldDescriptionprotected final org.slf4j.Loggerprotected List<StatisticPoint_>protected SubSingleBenchmarkResult -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedSubSingleStatistic(SubSingleBenchmarkResult subSingleBenchmarkResult) -
Method Summary
Modifier 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
-
logger
protected final transient org.slf4j.Logger logger -
subSingleBenchmarkResult
-
pointList
-
-
Constructor Details
-
SubSingleStatistic
protected SubSingleStatistic() -
SubSingleStatistic
-
-
Method Details
-
getSubSingleBenchmarkResult
-
setSubSingleBenchmarkResult
-
getStatisticType
-
getPointList
-
setPointList
-
getRelativeCsvFilePath
- Returns:
- never null, the relative path from
PlannerBenchmarkResult.getBenchmarkReportDirectory().
-
getCsvFileName
-
getCsvFile
-
open
public abstract void open(StatisticRegistry<Solution_> registry, io.micrometer.core.instrument.Tags runTag, Solver<Solution_> solver) -
close
public void close(StatisticRegistry<Solution_> registry, io.micrometer.core.instrument.Tags runTag, Solver<Solution_> solver) -
initPointList
public void initPointList() -
getCsvHeader
-
unhibernatePointList
public void unhibernatePointList() -
hibernatePointList
public void hibernatePointList() -
createPointFromCsvLine
protected abstract StatisticPoint_ createPointFromCsvLine(ScoreDefinition<?> scoreDefinition, List<String> csvLine) -
getAnchorId
-