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 org.optaplanner.core.config.AbstractConfig<ProblemBenchmarksConfig>
-
-
Constructor Summary
Constructors Constructor Description ProblemBenchmarksConfig()
-
Method Summary
-
-
-
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)
-
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 classorg.optaplanner.core.config.AbstractConfig<ProblemBenchmarksConfig>
-
copyConfig
public ProblemBenchmarksConfig copyConfig()
- Specified by:
copyConfig
in classorg.optaplanner.core.config.AbstractConfig<ProblemBenchmarksConfig>
-
visitReferencedClasses
public void visitReferencedClasses(Consumer<Class<?>> classVisitor)
- Specified by:
visitReferencedClasses
in classorg.optaplanner.core.config.AbstractConfig<ProblemBenchmarksConfig>
-
-