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
-
Methods inherited from class org.optaplanner.core.config.AbstractConfig
deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList, toString
-
-
-
-
Method Detail
-
getSolutionFileIOClass
public Class<SolutionFileIO> getSolutionFileIOClass()
-
setSolutionFileIOClass
public void setSolutionFileIOClass(Class<SolutionFileIO> solutionFileIOClass)
-
setXStreamAnnotatedClassList
public void setXStreamAnnotatedClassList(List<Class> xStreamAnnotatedClassList)
-
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)
-
buildProblemBenchmarkList
public <Solution_> void buildProblemBenchmarkList(SolverConfigContext solverConfigContext, SolverBenchmarkResult solverBenchmarkResult, Solution_[] extraProblems)
-
inherit
public ProblemBenchmarksConfig inherit(ProblemBenchmarksConfig inheritedConfig)
Description copied from class:AbstractConfig
Inherits each property of theinheritedConfig
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 classAbstractConfig<ProblemBenchmarksConfig>
- Parameters:
inheritedConfig
- never null- Returns:
- this
-
copyConfig
public ProblemBenchmarksConfig copyConfig()
Description copied from class:AbstractConfig
Typically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)
on it- Specified by:
copyConfig
in classAbstractConfig<ProblemBenchmarksConfig>
- Returns:
- new instance
-
-