Modifier and Type | Interface and Description |
---|---|
interface |
SolutionCloner<SolutionG extends Solution>
Clones a
Solution during planning. |
Modifier and Type | Method and Description |
---|---|
Solution |
Solver.getBestSolution() |
Modifier and Type | Method and Description |
---|---|
void |
Solver.solve(Solution planningProblem)
Solves the planning problem.
|
Modifier and Type | Class and Description |
---|---|
class |
BestSolutionChangedEvent<SolutionG extends Solution>
Delivered when the best
Solution changes during solving. |
interface |
SolverEventListener<SolutionG 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 |
---|---|
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 |
FieldAccessingSolutionCloner<SolutionG extends Solution> |
class |
PlanningCloneableSolutionCloner<SolutionG 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.getProblemScale(Solution solution)
Calculates an indication on how big this problem instance is.
|
int |
SolutionDescriptor.getValueCount(Solution solution) |
long |
SolutionDescriptor.getVariableCount(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<?> |
FromSolutionPropertyValueRangeDescriptor.extractValueRange(Solution solution,
Object entity) |
ValueRange<?> |
FromEntityPropertyValueRangeDescriptor.extractValueRange(Solution solution,
Object entity) |
ValueRange<?> |
ValueRangeDescriptor.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 | Interface and Description |
---|---|
interface |
SelectionSorterWeightFactory<Sol 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 ). |
Constructor and Description |
---|
WeightFactorySelectionSorter(SelectionSorterWeightFactory<Solution,T> selectionSorterWeightFactory,
SelectionSorterOrder selectionSorterOrder) |
Modifier and Type | Interface and Description |
---|---|
interface |
MoveListFactory<SolutionG 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 |
AbstractPhaseScope.getWorkingSolution() |
Solution |
AbstractStepScope.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 |
AbstractScoreDirectorFactory.assertScoreFromScratch(Solution solution) |
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. |
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<Sol extends Solution>
Used for easy java
Score calculation. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractIncrementalScoreCalculator<Sol extends Solution>
Abstract superclass for
IncrementalScoreCalculator . |
interface |
ConstraintMatchAwareIncrementalScoreCalculator<Sol 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<Sol extends Solution>
Used for incremental java
Score calculation. |
Modifier and Type | Method and Description |
---|---|
void |
IncrementalScoreDirector.setWorkingSolution(Solution workingSolution) |
Modifier and Type | Method and Description |
---|---|
Solution |
DefaultSolver.getBestSolution() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSolver.solve(Solution planningProblem) |
Modifier and Type | Method and Description |
---|---|
void |
SolverEventSupport.fireBestSolutionChanged(Solution newBestSolution,
int newUninitializedVariableCount) |
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–2015 JBoss by Red Hat. All rights reserved.