Class AbstractCalculationSpeedSubSingleStatistic<Solution_>
java.lang.Object
ai.timefold.solver.benchmark.impl.statistic.common.AbstractCalculationSpeedSubSingleStatistic<Solution_>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.slf4j.Loggerprotected List<LongStatisticPoint> protected ProblemStatisticTypeprotected SubSingleBenchmarkResult -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractCalculationSpeedSubSingleStatistic(ai.timefold.solver.core.config.solver.monitoring.SolverMetric solverMetric, ProblemStatisticType statisticType, SubSingleBenchmarkResult benchmarkResult, long timeMillisThresholdInterval) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose(ai.timefold.solver.benchmark.impl.statistic.StatisticRegistry<Solution_> registry, io.micrometer.core.instrument.Tags runTag) protected LongStatisticPointcreatePointFromCsvLine(ai.timefold.solver.core.impl.score.definition.ScoreDefinition<?> scoreDefinition, List<String> csvLine) protected abstract Stringvoidvoidvoidopen(ai.timefold.solver.benchmark.impl.statistic.StatisticRegistry<Solution_> registry, io.micrometer.core.instrument.Tags runTag) voidsetPointList(List<LongStatisticPoint> pointList) voidsetSubSingleBenchmarkResult(SubSingleBenchmarkResult subSingleBenchmarkResult) toString()void
-
Field Details
-
problemStatisticType
-
logger
protected final transient org.slf4j.Logger logger -
subSingleBenchmarkResult
-
pointList
-
-
Constructor Details
-
AbstractCalculationSpeedSubSingleStatistic
protected AbstractCalculationSpeedSubSingleStatistic(ai.timefold.solver.core.config.solver.monitoring.SolverMetric solverMetric, ProblemStatisticType statisticType, SubSingleBenchmarkResult benchmarkResult, long timeMillisThresholdInterval)
-
-
Method Details
-
open
public void open(ai.timefold.solver.benchmark.impl.statistic.StatisticRegistry<Solution_> registry, io.micrometer.core.instrument.Tags runTag) -
createPointFromCsvLine
protected LongStatisticPoint createPointFromCsvLine(ai.timefold.solver.core.impl.score.definition.ScoreDefinition<?> scoreDefinition, List<String> csvLine) -
getStatisticType
-
toString
-
getSubSingleBenchmarkResult
-
setSubSingleBenchmarkResult
-
getPointList
-
setPointList
-
getRelativeCsvFilePath
- Returns:
- never null, the relative path from
PlannerBenchmarkResult.getBenchmarkReportDirectory().
-
getCsvFileName
-
getCsvFile
-
close
public void close(ai.timefold.solver.benchmark.impl.statistic.StatisticRegistry<Solution_> registry, io.micrometer.core.instrument.Tags runTag) -
initPointList
public void initPointList() -
getCsvHeader
-
unhibernatePointList
public void unhibernatePointList() -
hibernatePointList
public void hibernatePointList() -
getAnchorId
-