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.setPlanningProblem(Solution planningProblem) |
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 |
---|---|
void |
BestSolutionRecaller.updateBestSolution(DefaultSolverScope solverScope,
Solution solution,
int uninitializedVariableCount) |
Modifier and Type | Method and Description |
---|---|
Solution |
ConstructionHeuristicMoveScope.getWorkingSolution() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
PlanningEntityDescriptor.extractEntities(Solution solution) |
long |
PlanningEntityDescriptor.getProblemScale(Solution solution,
Object planningEntity) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Solution> |
SolutionDescriptor.getSolutionClass() |
Modifier and Type | Method and Description |
---|---|
int |
SolutionDescriptor.countUninitializedVariables(Solution solution) |
Collection<Object> |
SolutionDescriptor.getAllFacts(Solution solution) |
int |
SolutionDescriptor.getEntityCount(Solution solution) |
List<Object> |
SolutionDescriptor.getEntityList(Solution solution) |
List<Object> |
SolutionDescriptor.getEntityListByPlanningEntityClass(Solution solution,
Class<?> planningEntityClass) |
long |
SolutionDescriptor.getProblemScale(Solution solution)
Calculates an indication on how big this problem instance is.
|
int |
SolutionDescriptor.getValueCount(Solution solution) |
boolean |
SolutionDescriptor.isInitialized(Solution solution) |
Constructor and Description |
---|
SolutionDescriptor(Class<? extends Solution> solutionClass) |
Modifier and Type | Class and Description |
---|---|
class |
FieldAccessingSolutionCloner<SolutionG extends Solution> |
class |
PlanningCloneableSolutionCloner<SolutionG extends Solution> |
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 |
---|---|
Collection<?> |
FromEntityPropertyPlanningValueRangeDescriptor.extractAllValues(Solution solution) |
Collection<?> |
PlanningValueRangeDescriptor.extractAllValues(Solution solution) |
Collection<?> |
CompositePlanningValueRangeDescriptor.extractAllValues(Solution solution) |
Collection<?> |
FromSolutionPropertyPlanningValueRangeDescriptor.extractAllValues(Solution solution) |
Collection<?> |
FromEntityPropertyPlanningValueRangeDescriptor.extractValues(Solution solution,
Object entity) |
Collection<?> |
PlanningValueRangeDescriptor.extractValues(Solution solution,
Object entity) |
Collection<?> |
CompositePlanningValueRangeDescriptor.extractValues(Solution solution,
Object entity) |
Collection<?> |
FromSolutionPropertyPlanningValueRangeDescriptor.extractValues(Solution solution,
Object entity) |
long |
FromEntityPropertyPlanningValueRangeDescriptor.getValueCount(Solution solution,
Object entity) |
long |
PlanningValueRangeDescriptor.getValueCount(Solution solution,
Object entity) |
long |
CompositePlanningValueRangeDescriptor.getValueCount(Solution solution,
Object entity) |
long |
FromSolutionPropertyPlanningValueRangeDescriptor.getValueCount(Solution solution,
Object entity) |
Modifier and Type | Method and Description |
---|---|
Collection<?> |
PlanningVariableDescriptor.extractAllPlanningValues(Solution solution) |
Collection<?> |
PlanningVariableDescriptor.extractPlanningValues(Solution solution,
Object entity) |
long |
PlanningVariableDescriptor.getValueCount(Solution solution,
Object entity) |
Modifier and Type | Method and Description |
---|---|
Solution |
BestSolutionChangedEvent.getNewBestSolution() |
Modifier and Type | Method and Description |
---|---|
void |
SolverEventSupport.fireBestSolutionChanged(Solution newBestSolution) |
Constructor and Description |
---|
BestSolutionChangedEvent(Solver source,
long timeMillisSpend,
Solution newBestSolution)
Internal API.
|
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,Object> selectionSorterWeightFactory,
SelectionSorterOrder selectionSorterOrder) |
Modifier and Type | Interface and Description |
---|---|
interface |
MoveListFactory<SolutionG extends Solution>
|
Modifier and Type | Method and Description |
---|---|
Solution |
LocalSearchMoveScope.getWorkingSolution() |
Modifier and Type | Method and Description |
---|---|
Solution |
AbstractSolverPhaseScope.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() |
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 |
ScoreDirector.cloneWorkingSolution() |
Solution |
AbstractScoreDirector.cloneWorkingSolution() |
Solution |
ScoreDirector.getWorkingSolution()
|
Solution |
AbstractScoreDirector.getWorkingSolution() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractScoreDirectorFactory.assertScoreFromScratch(Solution solution) |
void |
ScoreDirectorFactory.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 |
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 |
TrailingEntityMapSupport.resetTrailingEntityMap(Solution workingSolution) |
Modifier and Type | Method and Description |
---|---|
void |
DroolsScoreDirector.setWorkingSolution(Solution workingSolution) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractIncrementalScoreCalculator<Sol extends Solution>
Abstract superclass for
IncrementalScoreCalculator . |
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 | Interface and Description |
---|---|
interface |
SimpleScoreCalculator<Sol extends Solution>
Used for simple java
Score calculation. |
Modifier and Type | Method and Description |
---|---|
Solution |
ProblemIO.read(File inputSolutionFile)
This method is thread-safe.
|
Modifier and Type | Method and Description |
---|---|
void |
ProblemIO.write(Solution solution,
File outputSolutionFile)
This method is thread-safe.
|
Modifier and Type | Method and Description |
---|---|
Solution |
DefaultSolver.getBestSolution() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSolver.setPlanningProblem(Solution planningProblem) |
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-2014 JBoss by Red Hat. All Rights Reserved.