Class ProblemBenchmarksConfig

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

public class ProblemBenchmarksConfig extends 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)
      Description copied from class: AbstractConfig
      Inherits each property of the inheritedConfig unless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).

      After the inheritance, if a property on this AbstractConfig composition is replaced, it should not affect the inherited composition instance.

      Specified by:
      inherit in class AbstractConfig<ProblemBenchmarksConfig>
      Parameters:
      inheritedConfig - never null
      Returns:
      this
    • copyConfig

      public ProblemBenchmarksConfig copyConfig()
      Description copied from class: AbstractConfig
      Typically implemented by constructing a new instance and calling AbstractConfig.inherit(AbstractConfig) on it.
      Specified by:
      copyConfig in class AbstractConfig<ProblemBenchmarksConfig>
      Returns:
      new instance
    • visitReferencedClasses

      public void visitReferencedClasses(Consumer<Class<?>> classVisitor)
      Description copied from class: AbstractConfig
      Call the class visitor on each (possibly null) Class instance provided to this config by the user (including those provided in child configs). Required to create the bean factory in Quarkus.
      Specified by:
      visitReferencedClasses in class AbstractConfig<ProblemBenchmarksConfig>
      Parameters:
      classVisitor - The visitor of classes, never null. Can accept null instances of Class.