Class ProblemBenchmarksConfig

java.lang.Object
org.optaplanner.core.config.AbstractConfig<ProblemBenchmarksConfig>
org.optaplanner.benchmark.config.ProblemBenchmarksConfig

public class ProblemBenchmarksConfig extends org.optaplanner.core.config.AbstractConfig<ProblemBenchmarksConfig>
  • Constructor Details

    • ProblemBenchmarksConfig

      public ProblemBenchmarksConfig()
  • Method Details

    • getSolutionFileIOClass

      public Class<? extends SolutionFileIO<?>> getSolutionFileIOClass()
    • setSolutionFileIOClass

      public void setSolutionFileIOClass(Class<? extends 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)
    • getProblemStatisticTypeList

      public List<ProblemStatisticType> getProblemStatisticTypeList()
    • setProblemStatisticTypeList

      public void setProblemStatisticTypeList(List<ProblemStatisticType> problemStatisticTypeList)
    • getSingleStatisticTypeList

      public List<SingleStatisticType> getSingleStatisticTypeList()
    • 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
    • inherit

      public ProblemBenchmarksConfig inherit(ProblemBenchmarksConfig inheritedConfig)
      Specified by:
      inherit in class org.optaplanner.core.config.AbstractConfig<ProblemBenchmarksConfig>
    • copyConfig

      public ProblemBenchmarksConfig copyConfig()
      Specified by:
      copyConfig in class org.optaplanner.core.config.AbstractConfig<ProblemBenchmarksConfig>
    • visitReferencedClasses

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