Modifier and Type | Method and Description |
---|---|
Solution |
ProblemBenchmarkResult.readPlanningProblem() |
Modifier and Type | Method and Description |
---|---|
void |
ProblemBenchmarkResult.writeOutputSolution(SubSingleBenchmarkResult subSingleBenchmarkResult,
Solution outputSolution) |
Modifier and Type | Method and Description |
---|---|
abstract void |
SubSingleStatistic.close(Solver<Solution> solver) |
abstract void |
SubSingleStatistic.open(Solver<Solution> solver) |
Modifier and Type | Method and Description |
---|---|
void |
BestScoreSubSingleStatistic.close(Solver<Solution> solver) |
void |
BestScoreSubSingleStatistic.open(Solver<Solution> solver) |
Modifier and Type | Method and Description |
---|---|
void |
BestSolutionMutationSubSingleStatistic.close(Solver<Solution> solver) |
void |
BestSolutionMutationSubSingleStatistic.open(Solver<Solution> solver) |
Modifier and Type | Method and Description |
---|---|
void |
CalculateCountSubSingleStatistic.close(Solver<Solution> solver) |
void |
CalculateCountSubSingleStatistic.open(Solver<Solution> solver) |
Modifier and Type | Method and Description |
---|---|
void |
MemoryUseSubSingleStatistic.close(Solver<Solution> solver) |
void |
MemoryUseSubSingleStatistic.open(Solver<Solution> solver) |
Modifier and Type | Method and Description |
---|---|
void |
MoveCountPerStepSubSingleStatistic.close(Solver<Solution> solver) |
void |
MoveCountPerStepSubSingleStatistic.open(Solver<Solution> solver) |
Modifier and Type | Method and Description |
---|---|
void |
StepScoreSubSingleStatistic.close(Solver<Solution> solver) |
void |
StepScoreSubSingleStatistic.open(Solver<Solution> solver) |
Modifier and Type | Method and Description |
---|---|
void |
ConstraintMatchTotalBestScoreSubSingleStatistic.close(Solver<Solution> solver) |
void |
ConstraintMatchTotalBestScoreSubSingleStatistic.open(Solver<Solution> solver) |
Modifier and Type | Method and Description |
---|---|
void |
ConstraintMatchTotalStepScoreSubSingleStatistic.close(Solver<Solution> solver) |
void |
ConstraintMatchTotalStepScoreSubSingleStatistic.open(Solver<Solution> solver) |
Modifier and Type | Method and Description |
---|---|
void |
PickedMoveTypeBestScoreDiffSubSingleStatistic.close(Solver<Solution> solver) |
void |
PickedMoveTypeBestScoreDiffSubSingleStatistic.open(Solver<Solution> solver) |
Modifier and Type | Method and Description |
---|---|
void |
PickedMoveTypeStepScoreDiffSubSingleStatistic.close(Solver<Solution> solver) |
void |
PickedMoveTypeStepScoreDiffSubSingleStatistic.open(Solver<Solution> solver) |
Modifier and Type | Interface and Description |
---|---|
interface |
SolutionCloner<Solution_ extends Solution>
Clones a
Solution during planning. |
Modifier and Type | Interface and Description |
---|---|
interface |
Solver<Solution_ extends Solution>
A Solver solves a planning problem.
|
class |
SolverFactory<Solution_ extends Solution>
Builds
Solver instances. |
Modifier and Type | Method and Description |
---|---|
static <Solution_ extends Solution> |
SolverFactory.createEmpty()
Useful to build configuration programmatically, although it's almost always recommended
to instead load a partial configuration with
SolverFactory.createFromXmlResource(String)
and configure the remainder programmatically with SolverFactory.getSolverConfig() . |
static <Solution_ extends Solution> |
SolverFactory.createEmpty(ClassLoader classLoader)
|
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 |
BestSolutionChangedEvent<Solution_ extends Solution>
Delivered when the best
Solution changes during solving. |
interface |
SolverEventListener<Solution_ extends Solution> |
Modifier and Type | Method and Description |
---|---|
protected Class<? extends Solution> |
ScanAnnotatedClassesConfig.loadSolutionClass(org.reflections.Reflections reflections) |
Modifier and Type | Field and Description |
---|---|
protected Class<? extends Solution> |
SolverConfig.solutionClass |
Modifier and Type | Method and Description |
---|---|
<Solution_ extends Solution> |
SolverConfig.buildSolver()
Deprecated.
|
<Solution_ extends Solution> |
SolverConfig.buildSolver(ClassLoader classLoader)
Deprecated.
|
<Solution_ extends Solution> |
SolverConfig.buildSolver(SolverConfigContext configContext) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Solution> |
SolverConfig.getSolutionClass() |
Modifier and Type | Method and Description |
---|---|
void |
SolverConfig.setSolutionClass(Class<? extends Solution> solutionClass) |
Modifier and Type | Method and Description |
---|---|
Solution |
ConstructionHeuristicMoveScope.getWorkingSolution() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
EntityDescriptor.extractEntities(Solution solution) |
long |
EntityDescriptor.getProblemScale(Solution solution,
Object entity) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSolution<S extends Score>
Currently only used by OptaPlanner Workbench.
|
Modifier and Type | Class and Description |
---|---|
class |
FieldAccessingSolutionCloner<Solution_ extends Solution> |
class |
PlanningCloneableSolutionCloner<Solution_ extends Solution> |
Modifier and Type | Method and Description |
---|---|
Class<? extends Solution> |
SolutionDescriptor.getSolutionClass() |
Modifier and Type | Method and Description |
---|---|
int |
SolutionDescriptor.countReinitializableVariables(ScoreDirector scoreDirector,
Solution solution) |
int |
SolutionDescriptor.countUninitializedVariables(Solution solution) |
Iterator<Object> |
SolutionDescriptor.extractAllEntitiesIterator(Solution solution) |
Collection<Object> |
SolutionDescriptor.getAllFacts(Solution solution) |
int |
SolutionDescriptor.getEntityCount(Solution solution) |
List<Object> |
SolutionDescriptor.getEntityList(Solution solution) |
List<Object> |
SolutionDescriptor.getEntityListByEntityClass(Solution solution,
Class<?> entityClass) |
long |
SolutionDescriptor.getGenuineVariableCount(Solution solution) |
long |
SolutionDescriptor.getProblemScale(Solution solution)
Calculates an indication on how big this problem instance is.
|
int |
SolutionDescriptor.getValueCount(Solution solution) |
Modifier and Type | Method and Description |
---|---|
static SolutionDescriptor |
SolutionDescriptor.buildSolutionDescriptor(Class<? extends Solution> solutionClass,
Class<?>... entityClasses) |
static SolutionDescriptor |
SolutionDescriptor.buildSolutionDescriptor(Class<? extends Solution> solutionClass,
List<Class<?>> entityClassList) |
Constructor and Description |
---|
SolutionDescriptor(Class<? extends Solution> solutionClass) |
Modifier and Type | Method and Description |
---|---|
int |
MutationCounter.countMutations(Solution a,
Solution b) |
int |
MutationCounter.countMutations(Solution a,
Solution b) |
Modifier and Type | Method and Description |
---|---|
ValueRange<?> |
FromSolutionPropertyValueRangeDescriptor.extractValueRange(Solution solution) |
ValueRange<?> |
EntityIndependentValueRangeDescriptor.extractValueRange(Solution solution)
As specified by
ValueRangeDescriptor.extractValueRange(Solution, Object) . |
ValueRange<?> |
CompositeValueRangeDescriptor.extractValueRange(Solution solution) |
ValueRange<?> |
ValueRangeDescriptor.extractValueRange(Solution solution,
Object entity) |
ValueRange<?> |
FromSolutionPropertyValueRangeDescriptor.extractValueRange(Solution solution,
Object entity) |
ValueRange<?> |
FromEntityPropertyValueRangeDescriptor.extractValueRange(Solution solution,
Object entity) |
ValueRange<?> |
CompositeValueRangeDescriptor.extractValueRange(Solution solution,
Object entity) |
Modifier and Type | Method and Description |
---|---|
long |
GenuineVariableDescriptor.getValueCount(Solution solution,
Object entity) |
Modifier and Type | Class and Description |
---|---|
class |
ComparatorSelectionSorter<Solution_ extends Solution,T>
Sorts a selection
List based on a Comparator . |
interface |
SelectionSorter<Solution_ extends Solution,T>
Decides the order of a
List of selection
(which is a PlanningEntity , a planningValue, a Move or a Selector ). |
interface |
SelectionSorterWeightFactory<Solution_ extends Solution,T>
Creates a weight to decide the order of a collections of selections
(a selection is a
PlanningEntity , a planningValue, a Move or a Selector ). |
class |
WeightFactorySelectionSorter<Solution_ extends Solution,T>
Sorts a selection
List based on a SelectionSorterWeightFactory . |
Modifier and Type | Interface and Description |
---|---|
interface |
MoveListFactory<Solution_ extends Solution>
|
Modifier and Type | Field and Description |
---|---|
protected Solution |
FromEntityPropertyValueSelector.workingSolution |
Modifier and Type | Method and Description |
---|---|
Solution |
LocalSearchMoveScope.getWorkingSolution() |
Modifier and Type | Field and Description |
---|---|
protected Solution |
AbstractStepScope.clonedSolution |
Modifier and Type | Method and Description |
---|---|
Solution |
AbstractStepScope.createOrGetClonedSolution() |
Solution |
AbstractStepScope.getClonedSolution() |
Solution |
AbstractStepScope.getWorkingSolution() |
Solution |
AbstractPhaseScope.getWorkingSolution() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractStepScope.setClonedSolution(Solution clonedSolution) |
Modifier and Type | Field and Description |
---|---|
protected Solution |
AbstractScoreDirector.workingSolution |
Modifier and Type | Method and Description |
---|---|
Solution |
InnerScoreDirector.cloneSolution(Solution originalSolution) |
Solution |
AbstractScoreDirector.cloneSolution(Solution originalSolution) |
Solution |
InnerScoreDirector.cloneWorkingSolution() |
Solution |
AbstractScoreDirector.cloneWorkingSolution() |
Solution |
ScoreDirector.getWorkingSolution()
|
Solution |
AbstractScoreDirector.getWorkingSolution() |
Modifier and Type | Method and Description |
---|---|
void |
InnerScoreDirectorFactory.assertScoreFromScratch(Solution solution)
Asserts that if the
Score is calculated for the parameter solution,
it would be equal to the getScore() of that parameter. |
void |
AbstractScoreDirectorFactory.assertScoreFromScratch(Solution solution) |
Solution |
InnerScoreDirector.cloneSolution(Solution originalSolution) |
Solution |
AbstractScoreDirector.cloneSolution(Solution originalSolution) |
void |
ScoreDirector.setWorkingSolution(Solution workingSolution)
The
workingSolution must never be the same instance as the bestSolution ,
it should be a (un)changed clone. |
void |
AbstractScoreDirector.setWorkingSolution(Solution workingSolution) |
Modifier and Type | Method and Description |
---|---|
void |
DroolsScoreDirector.setWorkingSolution(Solution workingSolution) |
Modifier and Type | Interface and Description |
---|---|
interface |
EasyScoreCalculator<Solution_ extends Solution>
Used for easy java
Score calculation. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractIncrementalScoreCalculator<Solution_ extends Solution>
Abstract superclass for
IncrementalScoreCalculator . |
interface |
ConstraintMatchAwareIncrementalScoreCalculator<Solution_ extends Solution>
Allows a
IncrementalScoreCalculator to report ConstraintMatchTotal s
for explaining a score (= which score constraints match for how much)
and also for score corruption analysis. |
interface |
IncrementalScoreCalculator<Solution_ extends Solution>
Used for incremental java
Score calculation. |
Modifier and Type | Method and Description |
---|---|
void |
IncrementalScoreDirector.setWorkingSolution(Solution workingSolution) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSolverFactory<Solution_ extends Solution> |
class |
DefaultSolver<Solution_ extends Solution>
Default implementation for
Solver . |
class |
EmptySolverFactory<Solution_ extends Solution> |
class |
XStreamXmlSolverFactory<Solution_ extends Solution>
XML based configuration that builds a
Solver with XStream . |
Modifier and Type | Class and Description |
---|---|
class |
SolverEventSupport<Solution_ extends Solution>
Internal API.
|
Modifier and Type | Method and Description |
---|---|
void |
BestSolutionRecaller.updateBestSolution(DefaultSolverScope solverScope,
Solution solution,
int uninitializedVariableCount) |
Modifier and Type | Field and Description |
---|---|
protected Solution |
DefaultSolverScope.bestSolution |
Modifier and Type | Method and Description |
---|---|
Solution |
DefaultSolverScope.getBestSolution() |
Solution |
DefaultSolverScope.getWorkingSolution() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSolverScope.assertScoreFromScratch(Solution solution) |
void |
DefaultSolverScope.setBestSolution(Solution bestSolution)
The bestSolution must never be the same instance as the workingSolution, it should be a (un)changed clone.
|
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.