Class PlannerBenchmarkResult

java.lang.Object
org.optaplanner.benchmark.impl.result.PlannerBenchmarkResult

public class PlannerBenchmarkResult extends Object
Represents the benchmarks on multiple Solver configurations on multiple problem instances (data sets).
  • Constructor Details

    • PlannerBenchmarkResult

      public PlannerBenchmarkResult()
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getAggregation

      public Boolean getAggregation()
    • setAggregation

      public void setAggregation(Boolean aggregation)
    • getBenchmarkReportDirectory

      public File getBenchmarkReportDirectory()
    • setBenchmarkReportDirectory

      public void setBenchmarkReportDirectory(File benchmarkReportDirectory)
    • getAvailableProcessors

      public Integer getAvailableProcessors()
    • getLoggingLevelOptaPlannerCore

      public LoggingLevel getLoggingLevelOptaPlannerCore()
    • getLoggingLevelDroolsCore

      public LoggingLevel getLoggingLevelDroolsCore()
    • getMaxMemory

      public Long getMaxMemory()
    • getJavaVersion

      public String getJavaVersion()
    • getJavaVM

      public String getJavaVM()
    • getOperatingSystem

      public String getOperatingSystem()
    • getOptaPlannerVersion

      public String getOptaPlannerVersion()
    • getParallelBenchmarkCount

      public Integer getParallelBenchmarkCount()
    • setParallelBenchmarkCount

      public void setParallelBenchmarkCount(Integer parallelBenchmarkCount)
    • getWarmUpTimeMillisSpentLimit

      public Long getWarmUpTimeMillisSpentLimit()
    • setWarmUpTimeMillisSpentLimit

      public void setWarmUpTimeMillisSpentLimit(Long warmUpTimeMillisSpentLimit)
    • getEnvironmentMode

      public EnvironmentMode getEnvironmentMode()
    • getSolverBenchmarkResultList

      public List<SolverBenchmarkResult> getSolverBenchmarkResultList()
    • setSolverBenchmarkResultList

      public void setSolverBenchmarkResultList(List<SolverBenchmarkResult> solverBenchmarkResultList)
    • getUnifiedProblemBenchmarkResultList

      public List<ProblemBenchmarkResult> getUnifiedProblemBenchmarkResultList()
    • setUnifiedProblemBenchmarkResultList

      public void setUnifiedProblemBenchmarkResultList(List<ProblemBenchmarkResult> unifiedProblemBenchmarkResultList)
    • getStartingTimestamp

      public OffsetDateTime getStartingTimestamp()
    • setStartingTimestamp

      public void setStartingTimestamp(OffsetDateTime startingTimestamp)
    • getBenchmarkTimeMillisSpent

      public Long getBenchmarkTimeMillisSpent()
    • setBenchmarkTimeMillisSpent

      public void setBenchmarkTimeMillisSpent(Long benchmarkTimeMillisSpent)
    • getFailureCount

      public Integer getFailureCount()
    • getAverageProblemScale

      public Long getAverageProblemScale()
    • getAverageScore

      public Score getAverageScore()
    • getFavoriteSolverBenchmarkResult

      public SolverBenchmarkResult getFavoriteSolverBenchmarkResult()
    • hasMultipleParallelBenchmarks

      public boolean hasMultipleParallelBenchmarks()
    • hasAnyFailure

      public boolean hasAnyFailure()
    • getMaximumSubSingleCount

      public int getMaximumSubSingleCount()
    • findScoreLevelLabel

      public String findScoreLevelLabel(int scoreLevel)
    • getStartingTimestampAsMediumString

      public String getStartingTimestampAsMediumString()
    • initBenchmarkReportDirectory

      public void initBenchmarkReportDirectory(File benchmarkDirectory)
    • initSystemProperties

      public void initSystemProperties()
    • getTotalSubSingleCount

      public int getTotalSubSingleCount()
    • accumulateResults

      public void accumulateResults(BenchmarkReport benchmarkReport)
    • createMergedResult

      public static PlannerBenchmarkResult createMergedResult(List<SingleBenchmarkResult> singleBenchmarkResultList)
    • createMergeSingleton

      protected static PlannerBenchmarkResult createMergeSingleton(List<SingleBenchmarkResult> singleBenchmarkResultList)
    • createUnmarshallingFailedResult

      public static PlannerBenchmarkResult createUnmarshallingFailedResult(String benchmarkReportDirectoryName)
    • toString

      public String toString()
      Overrides:
      toString in class Object