Uses of Class
org.optaplanner.core.config.solver.SolverConfig
-
Packages that use SolverConfig Package Description org.optaplanner.benchmark.config Classes which represent the XML Benchmark configuration of OptaPlanner Benchmark.org.optaplanner.benchmark.impl.result org.optaplanner.core.api.solver Solver
,SolverFactory
, ...org.optaplanner.core.config.solver org.optaplanner.core.impl.io.jaxb org.optaplanner.core.impl.solver -
-
Uses of SolverConfig in org.optaplanner.benchmark.config
Methods in org.optaplanner.benchmark.config that return SolverConfig Modifier and Type Method Description SolverConfig
SolverBenchmarkConfig. getSolverConfig()
Methods in org.optaplanner.benchmark.config with parameters of type SolverConfig Modifier and Type Method Description static 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
Methods in org.optaplanner.benchmark.impl.result that return SolverConfig Modifier and Type Method Description SolverConfig
SolverBenchmarkResult. getSolverConfig()
Methods in org.optaplanner.benchmark.impl.result with parameters of type SolverConfig Modifier and Type Method Description void
SolverBenchmarkResult. setSolverConfig(SolverConfig solverConfig)
-
Uses of SolverConfig in org.optaplanner.core.api.solver
Methods in org.optaplanner.core.api.solver with parameters of type SolverConfig Modifier and Type Method Description static <Solution_>
SolverFactory<Solution_>SolverFactory. create(SolverConfig solverConfig)
Uses aSolverConfig
to build aSolverFactory
.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 SolverConfig Modifier and Type Method Description SolverConfig
SolverConfig. 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
SolverConfig. inherit(SolverConfig inheritedConfig)
Do not use this method, it is an internal method.SolverConfig
SolverConfig. withDaemon(Boolean daemon)
SolverConfig
SolverConfig. withEntityClasses(Class<?>... entityClasses)
SolverConfig
SolverConfig. withEntityClassList(List<Class<?>> entityClassList)
SolverConfig
SolverConfig. withEnvironmentMode(EnvironmentMode environmentMode)
SolverConfig
SolverConfig. withMoveThreadBufferSize(Integer moveThreadBufferSize)
SolverConfig
SolverConfig. withMoveThreadCount(String moveThreadCount)
SolverConfig
SolverConfig. withPhaseList(List<PhaseConfig> phaseConfigList)
SolverConfig
SolverConfig. withPhases(PhaseConfig... phaseConfigs)
SolverConfig
SolverConfig. withRandomFactoryClass(Class<? extends RandomFactory> randomFactoryClass)
SolverConfig
SolverConfig. withRandomSeed(Long randomSeed)
SolverConfig
SolverConfig. withRandomType(RandomType randomType)
SolverConfig
SolverConfig. withScoreDirectorFactory(ScoreDirectorFactoryConfig scoreDirectorFactoryConfig)
SolverConfig
SolverConfig. withSolutionClass(Class<?> solutionClass)
SolverConfig
SolverConfig. withTerminationConfig(TerminationConfig terminationConfig)
SolverConfig
SolverConfig. withThreadFactoryClass(Class<? extends ThreadFactory> threadFactoryClass)
Methods in org.optaplanner.core.config.solver with parameters of type SolverConfig Modifier and Type Method Description SolverConfig
SolverConfig. inherit(SolverConfig inheritedConfig)
Do not use this method, it is an internal method.Constructors in org.optaplanner.core.config.solver with parameters of type SolverConfig Constructor Description SolverConfig(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 SolverConfig Modifier and Type Method Description SolverConfig
SolverConfigIO. read(Reader reader)
Methods in org.optaplanner.core.impl.io.jaxb with parameters of type SolverConfig Modifier and Type Method Description void
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 Constructor Description DefaultSolverFactory(SolverConfig solverConfig)
-