Modifier and Type | Method and Description |
---|---|
static <Solution_> |
PlannerBenchmarkFactory.createFromSolverFactory(SolverFactory<Solution_> solverFactory) |
static <Solution_> |
PlannerBenchmarkFactory.createFromSolverFactory(SolverFactory<Solution_> solverFactory,
File benchmarkDirectory) |
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_> |
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_> |
SolverFactory.createEmpty(ClassLoader classLoader)
See
createEmpty() . |
static <Solution_> |
SolverFactory.createEmptyFromKieContainer(org.kie.api.runtime.KieContainer kieContainer) |
static <Solution_> |
SolverFactory.createEmptyFromKieContainer(org.kie.api.builder.ReleaseId releaseId) |
static <Solution_> |
SolverFactory.createFromKieContainerXmlResource(org.kie.api.runtime.KieContainer kieContainer,
String solverConfigResource) |
static <Solution_> |
SolverFactory.createFromKieContainerXmlResource(org.kie.api.builder.ReleaseId releaseId,
String solverConfigResource) |
static <Solution_> |
SolverFactory.createFromKieContainerXmlResource(String solverConfigResource)
Uses
KieServices.getKieClasspathContainer() . |
static <Solution_> |
SolverFactory.createFromXmlFile(File solverConfigFile) |
static <Solution_> |
SolverFactory.createFromXmlFile(File solverConfigFile,
ClassLoader classLoader) |
static <Solution_> |
SolverFactory.createFromXmlInputStream(InputStream in) |
static <Solution_> |
SolverFactory.createFromXmlInputStream(InputStream in,
ClassLoader classLoader) |
static <Solution_> |
SolverFactory.createFromXmlReader(Reader reader) |
static <Solution_> |
SolverFactory.createFromXmlReader(Reader reader,
ClassLoader classLoader) |
static <Solution_> |
SolverFactory.createFromXmlResource(String solverConfigResource) |
static <Solution_> |
SolverFactory.createFromXmlResource(String solverConfigResource,
ClassLoader classLoader)
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSolverFactory<Solution_> |
class |
EmptySolverFactory<Solution_> |
class |
XStreamXmlSolverFactory<Solution_>
XML based configuration that builds a
Solver with XStream . |
Modifier and Type | Method and Description |
---|---|
SolverFactory<Solution_> |
AbstractSolverFactory.cloneSolverFactory() |
Constructor and Description |
---|
AbstractScoreVerifier(SolverFactory<Solution_> solverFactory,
Class<? extends Score> expectedScoreClass) |
Constructor and Description |
---|
BendableScoreVerifier(SolverFactory<Solution_> solverFactory) |
Constructor and Description |
---|
BendableBigDecimalScoreVerifier(SolverFactory<Solution_> solverFactory) |
Constructor and Description |
---|
BendableLongScoreVerifier(SolverFactory<Solution_> solverFactory) |
Constructor and Description |
---|
HardMediumSoftScoreVerifier(SolverFactory<Solution_> solverFactory) |
Constructor and Description |
---|
HardMediumSoftLongScoreVerifier(SolverFactory<Solution_> solverFactory) |
Constructor and Description |
---|
HardSoftScoreVerifier(SolverFactory<Solution_> solverFactory) |
Constructor and Description |
---|
HardSoftBigDecimalScoreVerifier(SolverFactory<Solution_> solverFactory) |
Constructor and Description |
---|
HardSoftLongScoreVerifier(SolverFactory<Solution_> solverFactory) |
Constructor and Description |
---|
SimpleScoreVerifier(SolverFactory<Solution_> solverFactory) |
Constructor and Description |
---|
SimpleBigDecimalScoreVerifier(SolverFactory<Solution_> solverFactory) |
Constructor and Description |
---|
SimpleLongScoreVerifier(SolverFactory<Solution_> solverFactory) |
Copyright © 2006–2018 JBoss by Red Hat. All rights reserved.