Package | Description |
---|---|
org.optaplanner.core.api.solver |
Solver , SolverFactory , ... |
org.optaplanner.core.impl.solver |
Modifier and Type | Method and Description |
---|---|
abstract SolverFactory<Solution_> |
SolverFactory.cloneSolverFactory()
Build a
SolverFactory quickly (without parsing XML) that builds the exact same Solver
with buildSolver() , but can also be modified with getSolverConfig() to build a different
Solver without affecting the original SolverFactory . |
static <Solution_ extends Solution> |
SolverFactory.createEmpty()
Useful to build configuration programmatically, although it's almost always recommended
to instead load a partial configuration with
createFromXmlResource(String)
and configure the remainder programmatically with getSolverConfig() . |
static <Solution_ extends Solution> |
SolverFactory.createEmpty(ClassLoader classLoader)
See
createEmpty() . |
static <Solution_ extends Solution> |
SolverFactory.createFromKieContainerXmlResource(org.kie.api.runtime.KieContainer kieContainer,
String solverConfigResource) |
static <Solution_ extends Solution> |
SolverFactory.createFromKieContainerXmlResource(org.kie.api.builder.ReleaseId releaseId,
String solverConfigResource) |
static <Solution_ extends Solution> |
SolverFactory.createFromKieContainerXmlResource(String solverConfigResource)
Uses
KieServices.getKieClasspathContainer() . |
static <Solution_ extends Solution> |
SolverFactory.createFromXmlFile(File solverConfigFile) |
static <Solution_ extends Solution> |
SolverFactory.createFromXmlFile(File solverConfigFile,
ClassLoader classLoader) |
static <Solution_ extends Solution> |
SolverFactory.createFromXmlInputStream(InputStream in) |
static <Solution_ extends Solution> |
SolverFactory.createFromXmlInputStream(InputStream in,
ClassLoader classLoader) |
static <Solution_ extends Solution> |
SolverFactory.createFromXmlReader(Reader reader) |
static <Solution_ extends Solution> |
SolverFactory.createFromXmlReader(Reader reader,
ClassLoader classLoader) |
static <Solution_ extends Solution> |
SolverFactory.createFromXmlResource(String solverConfigResource) |
static <Solution_ extends Solution> |
SolverFactory.createFromXmlResource(String solverConfigResource,
ClassLoader classLoader)
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSolverFactory<Solution_ extends Solution> |
class |
EmptySolverFactory<Solution_ extends Solution> |
class |
XStreamXmlSolverFactory<Solution_ extends Solution>
XML based configuration that builds a
Solver with XStream . |
Modifier and Type | Method and Description |
---|---|
SolverFactory<Solution_> |
AbstractSolverFactory.cloneSolverFactory() |
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.