Module org.optaplanner.benchmark
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 -
Method Summary
Modifier and TypeMethodDescriptionReturn the problem statistic type list, or a list containing default metrics if problemStatisticEnabled is not false.Return the single statistic type list, or an empty list if it is nullClass<? extends SolutionFileIO<?>>inherit(ProblemBenchmarksConfig inheritedConfig) voidsetInputSolutionFileList(List<File> inputSolutionFileList) voidsetProblemStatisticEnabled(Boolean problemStatisticEnabled) voidsetProblemStatisticTypeList(List<ProblemStatisticType> problemStatisticTypeList) voidsetSingleStatisticTypeList(List<SingleStatisticType> singleStatisticTypeList) voidsetSolutionFileIOClass(Class<? extends SolutionFileIO<?>> solutionFileIOClass) voidsetWriteOutputSolutionEnabled(Boolean writeOutputSolutionEnabled) voidvisitReferencedClasses(Consumer<Class<?>> classVisitor) Methods inherited from class org.optaplanner.core.config.AbstractConfig
toString
-
Constructor Details
-
ProblemBenchmarksConfig
public ProblemBenchmarksConfig()
-
-
Method Details
-
getSolutionFileIOClass
-
setSolutionFileIOClass
-
getWriteOutputSolutionEnabled
-
setWriteOutputSolutionEnabled
-
getInputSolutionFileList
-
setInputSolutionFileList
-
getProblemStatisticEnabled
-
setProblemStatisticEnabled
-
getProblemStatisticTypeList
-
setProblemStatisticTypeList
-
getSingleStatisticTypeList
-
setSingleStatisticTypeList
-
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
Return the single statistic type list, or an empty list if it is null- Returns:
- never null
-
inherit
- Specified by:
inheritin classorg.optaplanner.core.config.AbstractConfig<ProblemBenchmarksConfig>
-
copyConfig
- Specified by:
copyConfigin classorg.optaplanner.core.config.AbstractConfig<ProblemBenchmarksConfig>
-
visitReferencedClasses
- Specified by:
visitReferencedClassesin classorg.optaplanner.core.config.AbstractConfig<ProblemBenchmarksConfig>
-