Uses of Class
org.optaplanner.core.config.solver.SolverConfig
Packages that use SolverConfig
Package
Description
Classes which represent the XML Benchmark configuration of OptaPlanner Benchmark.
Solver
, SolverFactory
, ...-
Uses of SolverConfig in org.optaplanner.benchmark.config
Methods in org.optaplanner.benchmark.config that return SolverConfigMethods in org.optaplanner.benchmark.config with parameters of type SolverConfigModifier and TypeMethodDescriptionstatic PlannerBenchmarkConfig
PlannerBenchmarkConfig.createFromSolverConfig
(SolverConfig solverConfig) static PlannerBenchmarkConfig
PlannerBenchmarkConfig.createFromSolverConfig
(SolverConfig solverConfig, File benchmarkDirectory) void
SolverBenchmarkConfig.setSolverConfig
(SolverConfig solverConfig) SolverBenchmarkConfig.withSolverConfig
(SolverConfig solverConfig) -
Uses of SolverConfig in org.optaplanner.benchmark.impl.result
Methods in org.optaplanner.benchmark.impl.result that return SolverConfigMethods in org.optaplanner.benchmark.impl.result with parameters of type SolverConfigModifier and TypeMethodDescriptionvoid
SolverBenchmarkResult.setSolverConfig
(SolverConfig solverConfig) -
Uses of SolverConfig in org.optaplanner.core.api.solver
Methods in org.optaplanner.core.api.solver with parameters of type SolverConfigModifier 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
Methods in org.optaplanner.core.config.solver that return SolverConfigModifier 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) Methods in org.optaplanner.core.config.solver with parameters of type SolverConfigModifier and TypeMethodDescriptionSolverConfig.inherit
(SolverConfig inheritedConfig) Do not use this method, it is an internal method.Constructors in org.optaplanner.core.config.solver with parameters of type SolverConfigModifierConstructorDescriptionSolverConfig
(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
Methods in org.optaplanner.core.impl.io.jaxb that return SolverConfigMethods in org.optaplanner.core.impl.io.jaxb with parameters of type SolverConfigModifier and TypeMethodDescriptionvoid
SolverConfigIO.write
(SolverConfig solverConfig, Writer writer) -
Uses of SolverConfig in org.optaplanner.core.impl.solver
Constructors in org.optaplanner.core.impl.solver with parameters of type SolverConfig -
Uses of SolverConfig in org.optaplanner.test.api.score.stream
Methods in org.optaplanner.test.api.score.stream with parameters of type SolverConfigModifier and TypeMethodDescriptionstatic <ConstraintProvider_ extends ConstraintProvider,
Solution_>
ConstraintVerifier<ConstraintProvider_,Solution_> ConstraintVerifier.create
(SolverConfig solverConfig) Uses aSolverConfig
to build aConstraintVerifier
.