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.solver |
Modifier and Type | Method and Description |
---|---|
SolverConfig |
SolverBenchmarkConfig.getSolverConfig() |
Modifier and Type | Method and Description |
---|---|
static PlannerBenchmarkConfig |
PlannerBenchmarkConfig.createFromSolverConfig(SolverConfig solverConfig) |
static PlannerBenchmarkConfig |
PlannerBenchmarkConfig.createFromSolverConfig(SolverConfig solverConfig,
File benchmarkDirectory) |
void |
SolverBenchmarkConfig.setSolverConfig(SolverConfig solverConfig) |
Modifier and Type | Method and Description |
---|---|
SolverConfig |
SolverBenchmarkResult.getSolverConfig() |
Modifier and Type | Method and Description |
---|---|
void |
SolverBenchmarkResult.setSolverConfig(SolverConfig solverConfig) |
Modifier and Type | Method and Description |
---|---|
abstract SolverConfig |
SolverFactory.getSolverConfig()
Deprecated.
in favor of
SolverConfig(SolverConfig)
and SolverFactory.create(SolverConfig) . Will be removed in 8.0. |
Modifier and Type | Method and Description |
---|---|
static <Solution_> |
SolverFactory.create(SolverConfig solverConfig)
Uses a
SolverConfig to build a SolverFactory . |
static <Solution_,ProblemId_> |
SolverManager.create(SolverConfig solverConfig,
SolverManagerConfig solverManagerConfig)
|
static <Solution_> |
SolverFactory.createFromKieContainer(org.kie.api.runtime.KieContainer kieContainer,
SolverConfig solverConfig) |
Modifier and Type | Method and 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 by
createFromXmlFile(File) . |
static SolverConfig |
SolverConfig.createFromXmlInputStream(InputStream in) |
static SolverConfig |
SolverConfig.createFromXmlInputStream(InputStream in,
ClassLoader classLoader)
As defined by
createFromXmlInputStream(InputStream) . |
static SolverConfig |
SolverConfig.createFromXmlReader(Reader reader) |
static SolverConfig |
SolverConfig.createFromXmlReader(Reader reader,
ClassLoader classLoader)
As defined by
createFromXmlReader(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 by
createFromXmlResource(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) |
Modifier and Type | Method and Description |
---|---|
SolverConfig |
SolverConfig.inherit(SolverConfig inheritedConfig)
Do not use this method, it is an internal method.
|
Constructor and Description |
---|
SolverConfig(SolverConfig inheritedConfig)
Allows you to programmatically change the
SolverConfig per concurrent request,
based on a template solver config,
by building a separate SolverFactory with SolverFactory.create(SolverConfig)
and a separate Solver per request to avoid race conditions. |
Modifier and Type | Method and Description |
---|---|
SolverConfig |
DefaultSolverFactory.getSolverConfig()
Deprecated.
|
Constructor and Description |
---|
DefaultSolverFactory(SolverConfig solverConfig) |
DefaultSolverFactory(SolverConfig solverConfig,
SolverConfigContext solverConfigContext) |
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.