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
Modifier and TypeFieldDescriptionprotected final org.slf4j.Logger
protected List<StatisticPoint_>
protected SubSingleBenchmarkResult
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
SubSingleStatistic
(SubSingleBenchmarkResult subSingleBenchmarkResult) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close
(StatisticRegistry<Solution_> registry, io.micrometer.core.instrument.Tags runTag, Solver<Solution_> solver) protected abstract StatisticPoint_
createPointFromCsvLine
(ScoreDefinition<?> scoreDefinition, List<String> csvLine) protected abstract String
abstract StatisticType
void
void
abstract void
open
(StatisticRegistry<Solution_> registry, io.micrometer.core.instrument.Tags runTag, Solver<Solution_> solver) void
setPointList
(List<StatisticPoint_> pointList) void
setSubSingleBenchmarkResult
(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
-