Class ProblemBenchmarksConfig

    • Constructor Detail

      • ProblemBenchmarksConfig

        public ProblemBenchmarksConfig()
    • Method Detail

      • getSolutionFileIOClass

        public Class<org.optaplanner.persistence.common.api.domain.solution.SolutionFileIO<?>> getSolutionFileIOClass()
      • setSolutionFileIOClass

        public void setSolutionFileIOClass​(Class<org.optaplanner.persistence.common.api.domain.solution.SolutionFileIO<?>> solutionFileIOClass)
      • getWriteOutputSolutionEnabled

        public Boolean getWriteOutputSolutionEnabled()
      • setWriteOutputSolutionEnabled

        public void setWriteOutputSolutionEnabled​(Boolean writeOutputSolutionEnabled)
      • getInputSolutionFileList

        public List<File> getInputSolutionFileList()
      • setInputSolutionFileList

        public void setInputSolutionFileList​(List<File> inputSolutionFileList)
      • getProblemStatisticEnabled

        public Boolean getProblemStatisticEnabled()
      • setProblemStatisticEnabled

        public void setProblemStatisticEnabled​(Boolean problemStatisticEnabled)
      • setProblemStatisticTypeList

        public void setProblemStatisticTypeList​(List<ProblemStatisticType> problemStatisticTypeList)
      • setSingleStatisticTypeList

        public void setSingleStatisticTypeList​(List<SingleStatisticType> singleStatisticTypeList)
      • determineProblemStatisticTypeList

        public List<ProblemStatisticType> determineProblemStatisticTypeList()
        Return the problem statistic type list, or a list containing default metrics if problemStatisticEnabled is not false. If problemStatisticEnabled is false, an empty list is returned.
        Returns:
        never null
      • determineSingleStatisticTypeList

        public List<SingleStatisticType> determineSingleStatisticTypeList()
        Return the single statistic type list, or an empty list if it is null
        Returns:
        never null
      • visitReferencedClasses

        public void visitReferencedClasses​(Consumer<Class<?>> classVisitor)
        Specified by:
        visitReferencedClasses in class org.optaplanner.core.config.AbstractConfig<ProblemBenchmarksConfig>