Class AbstractCalculationSpeedSubSingleStatistic<Solution_>

java.lang.Object
ai.timefold.solver.benchmark.impl.statistic.common.AbstractCalculationSpeedSubSingleStatistic<Solution_>

public abstract class AbstractCalculationSpeedSubSingleStatistic<Solution_> extends Object
  • Field Details

  • 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

      public ProblemStatisticType getStatisticType()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getSubSingleBenchmarkResult

      public SubSingleBenchmarkResult getSubSingleBenchmarkResult()
    • setSubSingleBenchmarkResult

      public void setSubSingleBenchmarkResult(SubSingleBenchmarkResult subSingleBenchmarkResult)
    • getPointList

      public List<LongStatisticPoint> getPointList()
    • setPointList

      public void setPointList(List<LongStatisticPoint> pointList)
    • getRelativeCsvFilePath

      public String getRelativeCsvFilePath()
      Returns:
      never null, the relative path from PlannerBenchmarkResult.getBenchmarkReportDirectory().
    • getCsvFileName

      public String getCsvFileName()
    • getCsvFile

      public File 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

      protected abstract String getCsvHeader()
    • unhibernatePointList

      public void unhibernatePointList()
    • hibernatePointList

      public void hibernatePointList()
    • getAnchorId

      public String getAnchorId()