Package org.optaplanner.benchmark.config
Class ProblemBenchmarksConfig
- java.lang.Object
-
- org.optaplanner.core.config.AbstractConfig<ProblemBenchmarksConfig>
-
- org.optaplanner.benchmark.config.ProblemBenchmarksConfig
-
public class ProblemBenchmarksConfig extends AbstractConfig<ProblemBenchmarksConfig>
-
-
Constructor Summary
Constructors Constructor Description ProblemBenchmarksConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProblemBenchmarksConfigcopyConfig()Typically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on itList<File>getInputSolutionFileList()BooleangetProblemStatisticEnabled()List<ProblemStatisticType>getProblemStatisticTypeList()List<SingleStatisticType>getSingleStatisticTypeList()Class<SolutionFileIO<?>>getSolutionFileIOClass()BooleangetWriteOutputSolutionEnabled()ProblemBenchmarksConfiginherit(ProblemBenchmarksConfig inheritedConfig)Inherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).voidsetInputSolutionFileList(List<File> inputSolutionFileList)voidsetProblemStatisticEnabled(Boolean problemStatisticEnabled)voidsetProblemStatisticTypeList(List<ProblemStatisticType> problemStatisticTypeList)voidsetSingleStatisticTypeList(List<SingleStatisticType> singleStatisticTypeList)voidsetSolutionFileIOClass(Class<SolutionFileIO<?>> solutionFileIOClass)voidsetWriteOutputSolutionEnabled(Boolean writeOutputSolutionEnabled)voidvisitReferencedClasses(Consumer<Class<?>> classVisitor)Call the class visitor on each (possibly null) Class instance provided to this config by the user (including those provided in child configs).-
Methods inherited from class org.optaplanner.core.config.AbstractConfig
toString
-
-
-
-
Method Detail
-
getSolutionFileIOClass
public Class<SolutionFileIO<?>> getSolutionFileIOClass()
-
setSolutionFileIOClass
public void setSolutionFileIOClass(Class<SolutionFileIO<?>> solutionFileIOClass)
-
getWriteOutputSolutionEnabled
public Boolean getWriteOutputSolutionEnabled()
-
setWriteOutputSolutionEnabled
public void setWriteOutputSolutionEnabled(Boolean writeOutputSolutionEnabled)
-
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)
-
inherit
public ProblemBenchmarksConfig inherit(ProblemBenchmarksConfig inheritedConfig)
Description copied from class:AbstractConfigInherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).After the inheritance, if a property on this
AbstractConfigcomposition is replaced, it should not affect the inherited composition instance.- Specified by:
inheritin classAbstractConfig<ProblemBenchmarksConfig>- Parameters:
inheritedConfig- never null- Returns:
- this
-
copyConfig
public ProblemBenchmarksConfig copyConfig()
Description copied from class:AbstractConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it- Specified by:
copyConfigin classAbstractConfig<ProblemBenchmarksConfig>- Returns:
- new instance
-
visitReferencedClasses
public void visitReferencedClasses(Consumer<Class<?>> classVisitor)
Description copied from class:AbstractConfigCall 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:
visitReferencedClassesin classAbstractConfig<ProblemBenchmarksConfig>- Parameters:
classVisitor- The visitor of classes, never null. Can accept null instances of Class
-
-