Uses of Class
org.optaplanner.core.config.solver.SolverConfig
Package
Description
Classes which represent the XML Benchmark configuration of OptaPlanner Benchmark.
Solver
, SolverFactory
, ...-
Uses of SolverConfig in org.optaplanner.benchmark.config
Modifier and TypeMethodDescriptionstatic PlannerBenchmarkConfig
PlannerBenchmarkConfig.createFromSolverConfig
(SolverConfig solverConfig) static PlannerBenchmarkConfig
PlannerBenchmarkConfig.createFromSolverConfig
(SolverConfig solverConfig, File benchmarkDirectory) void
SolverBenchmarkConfig.setSolverConfig
(SolverConfig solverConfig) -
Uses of SolverConfig in org.optaplanner.benchmark.impl.result
Modifier and TypeMethodDescriptionvoid
SolverBenchmarkResult.setSolverConfig
(SolverConfig solverConfig) -
Uses of SolverConfig in org.optaplanner.core.api.solver
Modifier and TypeMethodDescriptionstatic <Solution_>
SolverFactory<Solution_>SolverFactory.create
(SolverConfig solverConfig) Uses aSolverConfig
to build aSolverFactory
.static <Solution_,
ProblemId_>
SolverManager<Solution_,ProblemId_> SolverManager.create
(SolverConfig solverConfig) Use aSolverConfig
to build aSolverManager
.static <Solution_,
ProblemId_>
SolverManager<Solution_,ProblemId_> SolverManager.create
(SolverConfig solverConfig, SolverManagerConfig solverManagerConfig) -
Uses of SolverConfig in org.optaplanner.core.config.solver
Modifier and TypeMethodDescriptionSolverConfig.copyConfig()
static SolverConfig
SolverConfig.createFromXmlFile
(File solverConfigFile) Reads an XML solver configuration from the file system.static SolverConfig
SolverConfig.createFromXmlFile
(File solverConfigFile, ClassLoader classLoader) As defined bycreateFromXmlFile(File)
.static SolverConfig
SolverConfig.createFromXmlInputStream
(InputStream in) static SolverConfig
SolverConfig.createFromXmlInputStream
(InputStream in, ClassLoader classLoader) As defined bycreateFromXmlInputStream(InputStream)
.static SolverConfig
SolverConfig.createFromXmlReader
(Reader reader) static SolverConfig
SolverConfig.createFromXmlReader
(Reader reader, ClassLoader classLoader) As defined bycreateFromXmlReader(Reader)
.static SolverConfig
SolverConfig.createFromXmlResource
(String solverConfigResource) Reads an XML solver configuration from the classpath.static SolverConfig
SolverConfig.createFromXmlResource
(String solverConfigResource, ClassLoader classLoader) As defined bycreateFromXmlResource(String)
.SolverConfig.inherit
(SolverConfig inheritedConfig) Do not use this method, it is an internal method.SolverConfig.withConstraintProviderClass
(Class<? extends ConstraintProvider> constraintProviderClass) As defined byScoreDirectorFactoryConfig.withConstraintProviderClass(Class)
, but returns this.SolverConfig.withConstraintStreamImplType
(ConstraintStreamImplType constraintStreamImplType) SolverConfig.withDaemon
(Boolean daemon) SolverConfig.withDomainAccessType
(DomainAccessType domainAccessType) SolverConfig.withEasyScoreCalculatorClass
(Class<? extends EasyScoreCalculator> easyScoreCalculatorClass) As defined byScoreDirectorFactoryConfig.withEasyScoreCalculatorClass(Class)
, but returns this.SolverConfig.withEntityClasses
(Class<?>... entityClasses) SolverConfig.withEntityClassList
(List<Class<?>> entityClassList) SolverConfig.withEnvironmentMode
(EnvironmentMode environmentMode) SolverConfig.withGizmoMemberAccessorMap
(Map<String, MemberAccessor> memberAccessorMap) SolverConfig.withGizmoSolutionClonerMap
(Map<String, SolutionCloner> solutionClonerMap) SolverConfig.withMonitoringConfig
(MonitoringConfig monitoringConfig) SolverConfig.withMoveThreadBufferSize
(Integer moveThreadBufferSize) SolverConfig.withMoveThreadCount
(String moveThreadCount) SolverConfig.withPhaseList
(List<PhaseConfig> phaseConfigList) SolverConfig.withPhases
(PhaseConfig... phaseConfigs) SolverConfig.withRandomFactoryClass
(Class<? extends RandomFactory> randomFactoryClass) SolverConfig.withRandomSeed
(Long randomSeed) SolverConfig.withRandomType
(RandomType randomType) SolverConfig.withScoreDirectorFactory
(ScoreDirectorFactoryConfig scoreDirectorFactoryConfig) SolverConfig.withSolutionClass
(Class<?> solutionClass) SolverConfig.withTerminationConfig
(TerminationConfig terminationConfig) SolverConfig.withTerminationSpentLimit
(Duration spentLimit) As defined byTerminationConfig.withSpentLimit(Duration)
, but returns this.SolverConfig.withThreadFactoryClass
(Class<? extends ThreadFactory> threadFactoryClass) Modifier and TypeMethodDescriptionSolverConfig.inherit
(SolverConfig inheritedConfig) Do not use this method, it is an internal method.ModifierConstructorDescriptionSolverConfig
(SolverConfig inheritedConfig) Allows you to programmatically change theSolverConfig
per concurrent request, based on a template solver config, by building a separateSolverFactory
withSolverFactory.create(SolverConfig)
and a separateSolver
per request to avoid race conditions. -
Uses of SolverConfig in org.optaplanner.core.impl.io.jaxb
Modifier and TypeMethodDescriptionvoid
SolverConfigIO.write
(SolverConfig solverConfig, Writer writer) -
Uses of SolverConfig in org.optaplanner.core.impl.solver
-
Uses of SolverConfig in org.optaplanner.test.api.score.stream
Modifier and TypeMethodDescriptionstatic <ConstraintProvider_ extends ConstraintProvider,
Solution_>
ConstraintVerifier<ConstraintProvider_,Solution_> ConstraintVerifier.create
(SolverConfig solverConfig) Uses aSolverConfig
to build aConstraintVerifier
.