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 Details

  • Constructor Details

    • SubSingleStatistic

      protected SubSingleStatistic()
    • SubSingleStatistic

      protected SubSingleStatistic(SubSingleBenchmarkResult subSingleBenchmarkResult)
  • Method Details

    • getSubSingleBenchmarkResult

      public SubSingleBenchmarkResult getSubSingleBenchmarkResult()
    • setSubSingleBenchmarkResult

      public void setSubSingleBenchmarkResult(SubSingleBenchmarkResult subSingleBenchmarkResult)
    • getStatisticType

      public abstract StatisticType getStatisticType()
    • getPointList

      public List<StatisticPoint_> getPointList()
    • setPointList

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

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

      public String getCsvFileName()
    • getCsvFile

      public File getCsvFile()
    • open

      public abstract void open(StatisticRegistry<Solution_> registry, io.micrometer.core.instrument.Tags runTag, org.optaplanner.core.api.solver.Solver<Solution_> solver)
    • close

      public void close(StatisticRegistry<Solution_> registry, io.micrometer.core.instrument.Tags runTag, org.optaplanner.core.api.solver.Solver<Solution_> solver)
    • initPointList

      public void initPointList()
    • getCsvHeader

      protected abstract String getCsvHeader()
    • unhibernatePointList

      public void unhibernatePointList()
    • hibernatePointList

      public void hibernatePointList()
    • createPointFromCsvLine

      protected abstract StatisticPoint_ createPointFromCsvLine(org.optaplanner.core.impl.score.definition.ScoreDefinition<?> scoreDefinition, List<String> csvLine)
    • getAnchorId

      public String getAnchorId()