Class ProblemBenchmarkResult<Solution_>


  • public class ProblemBenchmarkResult<Solution_>
    extends Object
    Represents 1 problem instance (data set) benchmarked on multiple Solver configurations.
    • Constructor Detail

    • Method Detail

      • setPlannerBenchmarkResult

        public void setPlannerBenchmarkResult​(PlannerBenchmarkResult plannerBenchmarkResult)
      • getName

        public String getName()
        Returns:
        never null, filename safe
      • setName

        public void setName​(String name)
      • isWriteOutputSolutionEnabled

        public boolean isWriteOutputSolutionEnabled()
      • setWriteOutputSolutionEnabled

        public void setWriteOutputSolutionEnabled​(boolean writeOutputSolutionEnabled)
      • setProblemStatisticList

        public void setProblemStatisticList​(List<ProblemStatistic> problemStatisticList)
      • setSingleBenchmarkResultList

        public void setSingleBenchmarkResultList​(List<SingleBenchmarkResult> singleBenchmarkResultList)
      • getEntityCount

        public Long getEntityCount()
      • getVariableCount

        public Long getVariableCount()
      • getMaximumValueCount

        public Long getMaximumValueCount()
      • getProblemScale

        public Long getProblemScale()
      • getInputSolutionLoadingTimeMillisSpent

        public Long getInputSolutionLoadingTimeMillisSpent()
      • getMaximumSubSingleCount

        public Integer getMaximumSubSingleCount()
      • getAverageUsedMemoryAfterInputSolution

        public Long getAverageUsedMemoryAfterInputSolution()
      • getFailureCount

        public Integer getFailureCount()
      • getWorstScoreCalculationSpeed

        public Long getWorstScoreCalculationSpeed()
      • getAnchorId

        public String getAnchorId()
      • findScoreLevelLabel

        public String findScoreLevelLabel​(int scoreLevel)
      • getBenchmarkReportDirectory

        public File getBenchmarkReportDirectory()
      • hasAnyFailure

        public boolean hasAnyFailure()
      • hasAnySuccess

        public boolean hasAnySuccess()
      • hasAnyStatistic

        public boolean hasAnyStatistic()
      • hasProblemStatisticType

        public boolean hasProblemStatisticType​(ProblemStatisticType problemStatisticType)
      • getProblemReportDirectoryName

        public String getProblemReportDirectoryName()
      • getProblemReportDirectory

        public File getProblemReportDirectory()
      • makeDirs

        public void makeDirs()
      • getTotalSubSingleCount

        public int getTotalSubSingleCount()
      • readProblem

        public Solution_ readProblem()
      • accumulateResults

        public void accumulateResults​(BenchmarkReport benchmarkReport)
      • registerScale

        public void registerScale​(long registeringEntityCount,
                                  long registeringVariableCount,
                                  long registeringMaximumValueCount,
                                  long registeringProblemScale)
        HACK to avoid loading the problem just to extract its problemScale. Called multiple times, for every SingleBenchmarkResult of this ProblemBenchmarkResult.
        Parameters:
        registeringEntityCount - >= 0
        registeringVariableCount - >= 0
        registeringProblemScale - >= 0
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object