Modifier and Type | Method and Description |
---|---|
void |
VariableListener.afterEntityAdded(ScoreDirector scoreDirector,
Entity_ entity) |
void |
VariableListener.afterEntityRemoved(ScoreDirector scoreDirector,
Entity_ entity) |
void |
VariableListener.afterVariableChanged(ScoreDirector scoreDirector,
Entity_ entity) |
void |
VariableListener.beforeEntityAdded(ScoreDirector scoreDirector,
Entity_ entity) |
void |
VariableListener.beforeEntityRemoved(ScoreDirector scoreDirector,
Entity_ entity) |
void |
VariableListener.beforeVariableChanged(ScoreDirector scoreDirector,
Entity_ entity) |
default void |
VariableListener.resetWorkingSolution(ScoreDirector scoreDirector)
Called when the entire working solution changes.
|
Modifier and Type | Method and Description |
---|---|
int |
EntityDescriptor.countReinitializableVariables(ScoreDirector<Solution_> scoreDirector,
Object entity) |
boolean |
EntityDescriptor.isEntityInitializedOrPinned(ScoreDirector<Solution_> scoreDirector,
Object entity) |
boolean |
EntityDescriptor.isMovable(ScoreDirector<Solution_> scoreDirector,
Object entity) |
Modifier and Type | Method and Description |
---|---|
int |
SolutionDescriptor.getMovableEntityCount(ScoreDirector<Solution_> scoreDirector) |
Modifier and Type | Method and Description |
---|---|
void |
ExternalizedAnchorVariableSupply.afterEntityAdded(ScoreDirector scoreDirector,
Object entity) |
void |
AnchorVariableListener.afterEntityAdded(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedAnchorVariableSupply.afterEntityRemoved(ScoreDirector scoreDirector,
Object entity) |
void |
AnchorVariableListener.afterEntityRemoved(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedAnchorVariableSupply.afterVariableChanged(ScoreDirector scoreDirector,
Object entity) |
void |
AnchorVariableListener.afterVariableChanged(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedAnchorVariableSupply.beforeEntityAdded(ScoreDirector scoreDirector,
Object entity) |
void |
AnchorVariableListener.beforeEntityAdded(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedAnchorVariableSupply.beforeEntityRemoved(ScoreDirector scoreDirector,
Object entity) |
void |
AnchorVariableListener.beforeEntityRemoved(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedAnchorVariableSupply.beforeVariableChanged(ScoreDirector scoreDirector,
Object entity) |
void |
AnchorVariableListener.beforeVariableChanged(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedAnchorVariableSupply.clearWorkingSolution(ScoreDirector scoreDirector) |
protected void |
ExternalizedAnchorVariableSupply.insert(ScoreDirector scoreDirector,
Object entity) |
protected void |
AnchorVariableListener.insert(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedAnchorVariableSupply.resetWorkingSolution(ScoreDirector scoreDirector) |
Modifier and Type | Method and Description |
---|---|
boolean |
GenuineVariableDescriptor.isReinitializable(ScoreDirector<Solution_> scoreDirector,
Object entity) |
Modifier and Type | Method and Description |
---|---|
void |
SingletonInverseVariableListener.afterEntityAdded(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedSingletonInverseVariableSupply.afterEntityAdded(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedCollectionInverseVariableSupply.afterEntityAdded(ScoreDirector scoreDirector,
Object entity) |
void |
CollectionInverseVariableListener.afterEntityAdded(ScoreDirector scoreDirector,
Object entity) |
void |
SingletonInverseVariableListener.afterEntityRemoved(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedSingletonInverseVariableSupply.afterEntityRemoved(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedCollectionInverseVariableSupply.afterEntityRemoved(ScoreDirector scoreDirector,
Object entity) |
void |
CollectionInverseVariableListener.afterEntityRemoved(ScoreDirector scoreDirector,
Object entity) |
void |
SingletonInverseVariableListener.afterVariableChanged(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedSingletonInverseVariableSupply.afterVariableChanged(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedCollectionInverseVariableSupply.afterVariableChanged(ScoreDirector scoreDirector,
Object entity) |
void |
CollectionInverseVariableListener.afterVariableChanged(ScoreDirector scoreDirector,
Object entity) |
void |
SingletonInverseVariableListener.beforeEntityAdded(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedSingletonInverseVariableSupply.beforeEntityAdded(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedCollectionInverseVariableSupply.beforeEntityAdded(ScoreDirector scoreDirector,
Object entity) |
void |
CollectionInverseVariableListener.beforeEntityAdded(ScoreDirector scoreDirector,
Object entity) |
void |
SingletonInverseVariableListener.beforeEntityRemoved(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedSingletonInverseVariableSupply.beforeEntityRemoved(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedCollectionInverseVariableSupply.beforeEntityRemoved(ScoreDirector scoreDirector,
Object entity) |
void |
CollectionInverseVariableListener.beforeEntityRemoved(ScoreDirector scoreDirector,
Object entity) |
void |
SingletonInverseVariableListener.beforeVariableChanged(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedSingletonInverseVariableSupply.beforeVariableChanged(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedCollectionInverseVariableSupply.beforeVariableChanged(ScoreDirector scoreDirector,
Object entity) |
void |
CollectionInverseVariableListener.beforeVariableChanged(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedSingletonInverseVariableSupply.clearWorkingSolution(ScoreDirector scoreDirector) |
void |
ExternalizedCollectionInverseVariableSupply.clearWorkingSolution(ScoreDirector scoreDirector) |
protected void |
SingletonInverseVariableListener.insert(ScoreDirector scoreDirector,
Object entity) |
protected void |
ExternalizedSingletonInverseVariableSupply.insert(ScoreDirector scoreDirector,
Object entity) |
protected void |
ExternalizedCollectionInverseVariableSupply.insert(ScoreDirector scoreDirector,
Object entity) |
protected void |
CollectionInverseVariableListener.insert(ScoreDirector scoreDirector,
Object entity) |
void |
ExternalizedSingletonInverseVariableSupply.resetWorkingSolution(ScoreDirector scoreDirector) |
void |
ExternalizedCollectionInverseVariableSupply.resetWorkingSolution(ScoreDirector scoreDirector) |
protected void |
SingletonInverseVariableListener.retract(ScoreDirector scoreDirector,
Object entity) |
protected void |
ExternalizedSingletonInverseVariableSupply.retract(ScoreDirector scoreDirector,
Object entity) |
protected void |
ExternalizedCollectionInverseVariableSupply.retract(ScoreDirector scoreDirector,
Object entity) |
protected void |
CollectionInverseVariableListener.retract(ScoreDirector scoreDirector,
Object entity) |
Modifier and Type | Method and Description |
---|---|
void |
VariableListenerAdapter.afterEntityAdded(ScoreDirector scoreDirector,
Entity_ entity)
Deprecated.
|
void |
VariableListener.afterEntityAdded(ScoreDirector scoreDirector,
Entity_ entity)
Deprecated.
|
void |
VariableListenerAdapter.afterEntityRemoved(ScoreDirector scoreDirector,
Entity_ entity)
Deprecated.
|
void |
VariableListener.afterEntityRemoved(ScoreDirector scoreDirector,
Entity_ entity)
Deprecated.
|
void |
VariableListenerAdapter.afterVariableChanged(ScoreDirector scoreDirector,
Entity_ entity)
Deprecated.
|
void |
VariableListener.afterVariableChanged(ScoreDirector scoreDirector,
Entity_ entity)
Deprecated.
|
void |
VariableListenerAdapter.beforeEntityAdded(ScoreDirector scoreDirector,
Entity_ entity)
Deprecated.
|
void |
VariableListener.beforeEntityAdded(ScoreDirector scoreDirector,
Entity_ entity)
Deprecated.
|
void |
VariableListenerAdapter.beforeEntityRemoved(ScoreDirector scoreDirector,
Entity_ entity)
Deprecated.
|
void |
VariableListener.beforeEntityRemoved(ScoreDirector scoreDirector,
Entity_ entity)
Deprecated.
|
void |
VariableListenerAdapter.beforeVariableChanged(ScoreDirector scoreDirector,
Entity_ entity)
Deprecated.
|
void |
VariableListener.beforeVariableChanged(ScoreDirector scoreDirector,
Entity_ entity)
Deprecated.
|
default void |
StatefulVariableListener.clearWorkingSolution(ScoreDirector scoreDirector)
Deprecated.
Implement
VariableListener.close() instead. |
void |
StatefulVariableListener.resetWorkingSolution(ScoreDirector scoreDirector)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Score |
TrendBasedScoreBounder.calculateOptimisticBound(ScoreDirector scoreDirector,
Score score) |
Score |
ScoreBounder.calculateOptimisticBound(ScoreDirector scoreDirector,
Score score)
In OR terms, this is called the lower bound if they minimize, and upper bound if they maximize.
|
Score |
TrendBasedScoreBounder.calculatePessimisticBound(ScoreDirector scoreDirector,
Score score) |
Score |
ScoreBounder.calculatePessimisticBound(ScoreDirector scoreDirector,
Score score)
In OR terms, this is called the upper bound if they minimize, and lower bound if they maximize.
|
Modifier and Type | Method and Description |
---|---|
NoChangeMove<Solution_> |
NoChangeMove.createUndoMove(ScoreDirector<Solution_> scoreDirector) |
protected abstract AbstractMove<Solution_> |
AbstractMove.createUndoMove(ScoreDirector<Solution_> scoreDirector)
Called before the move is done, so the move can be evaluated and then be undone
without resulting into a permanent change in the solution.
|
Move<Solution_> |
Move.doMove(ScoreDirector<Solution_> scoreDirector)
Does the move (which indirectly affects the
getWorkingSolution() ). |
CompositeMove<Solution_> |
CompositeMove.doMove(ScoreDirector<Solution_> scoreDirector) |
AbstractMove<Solution_> |
AbstractMove.doMove(ScoreDirector<Solution_> scoreDirector) |
protected void |
NoChangeMove.doMoveOnGenuineVariables(ScoreDirector<Solution_> scoreDirector) |
protected abstract void |
AbstractMove.doMoveOnGenuineVariables(ScoreDirector<Solution_> scoreDirector)
Like
AbstractMove.doMove(ScoreDirector) but without the triggerVariableListeners() call
(because AbstractMove.doMove(ScoreDirector) already does that). |
boolean |
NoChangeMove.isMoveDoable(ScoreDirector<Solution_> scoreDirector) |
boolean |
Move.isMoveDoable(ScoreDirector<Solution_> scoreDirector)
Called before a move is evaluated to decide whether the move can be done and evaluated.
|
boolean |
CompositeMove.isMoveDoable(ScoreDirector<Solution_> scoreDirector) |
NoChangeMove<Solution_> |
NoChangeMove.rebase(ScoreDirector<Solution_> destinationScoreDirector) |
default Move<Solution_> |
Move.rebase(ScoreDirector<Solution_> destinationScoreDirector)
Rebases a move from an origin
ScoreDirector to another destination ScoreDirector
which is usually on another Thread or JVM. |
CompositeMove<Solution_> |
CompositeMove.rebase(ScoreDirector<Solution_> destinationScoreDirector) |
protected static Object[] |
AbstractMove.rebaseArray(Object[] externalObjects,
ScoreDirector<?> destinationScoreDirector) |
protected static <E> List<E> |
AbstractMove.rebaseList(List<E> externalObjectList,
ScoreDirector<?> destinationScoreDirector) |
Modifier and Type | Method and Description |
---|---|
boolean |
SelectionFilter.accept(ScoreDirector<Solution_> scoreDirector,
T selection) |
boolean |
CompositeSelectionFilter.accept(ScoreDirector<Solution_> scoreDirector,
T selection) |
double |
FairSelectorProbabilityWeightFactory.createProbabilityWeight(ScoreDirector<Solution_> scoreDirector,
IterableSelector selector) |
double |
FixedSelectorProbabilityWeightFactory.createProbabilityWeight(ScoreDirector<Solution_> scoreDirector,
Selector_ selector) |
double |
SelectionProbabilityWeightFactory.createProbabilityWeight(ScoreDirector<Solution_> scoreDirector,
T selection) |
void |
WeightFactorySelectionSorter.sort(ScoreDirector<Solution_> scoreDirector,
List<T> selectionList) |
void |
SelectionSorter.sort(ScoreDirector<Solution_> scoreDirector,
List<T> selectionList) |
void |
ComparatorSelectionSorter.sort(ScoreDirector<Solution_> scoreDirector,
List<T> selectionList) |
Modifier and Type | Field and Description |
---|---|
protected ScoreDirector |
FilteringEntitySelector.scoreDirector |
Modifier and Type | Method and Description |
---|---|
boolean |
PinEntityFilter.accept(ScoreDirector<Solution_> scoreDirector,
Object entity) |
boolean |
NullValueReinitializeVariableEntityFilter.accept(ScoreDirector<Solution_> scoreDirector,
Object entity) |
protected boolean |
FilteringEntitySelector.accept(ScoreDirector scoreDirector,
Object entity) |
Modifier and Type | Field and Description |
---|---|
protected ScoreDirector |
UnionMoveSelector.scoreDirector |
Modifier and Type | Field and Description |
---|---|
protected ScoreDirector |
FilteringMoveSelector.scoreDirector |
Modifier and Type | Method and Description |
---|---|
protected boolean |
FilteringMoveSelector.accept(ScoreDirector scoreDirector,
Move move) |
Modifier and Type | Field and Description |
---|---|
protected ScoreDirector |
MoveIteratorFactoryToMoveSelectorBridge.scoreDirector |
Modifier and Type | Method and Description |
---|---|
Iterator<? extends Move<Solution_>> |
MoveIteratorFactory.createOriginalMoveIterator(ScoreDirector<Solution_> scoreDirector)
When it is called depends on the configured
SelectionCacheType . |
Iterator<? extends Move<Solution_>> |
MoveIteratorFactory.createRandomMoveIterator(ScoreDirector<Solution_> scoreDirector,
Random workingRandom)
When it is called depends on the configured
SelectionCacheType . |
long |
MoveIteratorFactory.getSize(ScoreDirector<Solution_> scoreDirector) |
Modifier and Type | Method and Description |
---|---|
<Solution_> |
SubChain.rebase(ScoreDirector<Solution_> destinationScoreDirector) |
Modifier and Type | Field and Description |
---|---|
protected ScoreDirector |
ReinitializeVariableValueSelector.scoreDirector |
protected ScoreDirector |
FilteringValueSelector.scoreDirector |
protected ScoreDirector |
EntityDependentSortingValueSelector.scoreDirector |
Modifier and Type | Method and Description |
---|---|
boolean |
MovableChainedTrailingValueFilter.accept(ScoreDirector<Solution_> scoreDirector,
Object value) |
protected boolean |
FilteringValueSelector.accept(ScoreDirector scoreDirector,
Object entity) |
protected SingletonInverseVariableSupply |
MovableChainedTrailingValueFilter.retrieveSingletonInverseVariableSupply(ScoreDirector<Solution_> scoreDirector) |
Modifier and Type | Method and Description |
---|---|
List<Solution_> |
SolutionPartitioner.splitWorkingSolution(ScoreDirector<Solution_> scoreDirector,
Integer runnablePartThreadLimit)
Returns a list of partition cloned
solutions
for which each planning entity
is partition cloned into exactly 1 of those partitions. |
Modifier and Type | Method and Description |
---|---|
protected PartitionChangeMove<Solution_> |
PartitionChangeMove.createUndoMove(ScoreDirector<Solution_> scoreDirector) |
protected void |
PartitionChangeMove.doMoveOnGenuineVariables(ScoreDirector<Solution_> scoreDirector) |
boolean |
PartitionChangeMove.isMoveDoable(ScoreDirector<Solution_> scoreDirector) |
PartitionChangeMove<Solution_> |
PartitionChangeMove.rebase(ScoreDirector<Solution_> destinationScoreDirector) |
Modifier and Type | Method and Description |
---|---|
void |
NoChangeCustomPhaseCommand.changeWorkingSolution(ScoreDirector<Object> scoreDirector) |
void |
CustomPhaseCommand.changeWorkingSolution(ScoreDirector<Solution_> scoreDirector)
Changes
working solution of getWorkingSolution() . |
Modifier and Type | Interface and Description |
---|---|
interface |
InnerScoreDirector<Solution_> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractScoreDirector<Solution_,Factory_ extends AbstractScoreDirectorFactory<Solution_>>
Abstract superclass for
ScoreDirector . |
Modifier and Type | Method and Description |
---|---|
ScoreDirector<Solution_> |
ScoreDirectorFactory.buildScoreDirector()
Creates a new
ScoreDirector instance. |
ScoreDirector<Solution_> |
InnerScoreDirector.clone()
Clones this
ScoreDirector and its working solution . |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractScoreDirector.buildScoreCorruptionAnalysis(ScoreDirector<Solution_> uncorruptedScoreDirector,
boolean predicted) |
Modifier and Type | Class and Description |
---|---|
class |
DroolsScoreDirector<Solution_>
Drools implementation of
ScoreDirector , which directs the Rule Engine to calculate the Score
of the working solution . |
Modifier and Type | Class and Description |
---|---|
class |
TestGenDroolsScoreDirector<Solution_> |
Modifier and Type | Class and Description |
---|---|
class |
EasyScoreDirector<Solution_>
Easy java implementation of
ScoreDirector , which recalculates the Score
of the working solution every time. |
Modifier and Type | Class and Description |
---|---|
class |
IncrementalScoreDirector<Solution_>
Incremental java implementation of
ScoreDirector , which only recalculates the Score
of the part of the working solution that changed,
instead of the going through the entire PlanningSolution . |
Modifier and Type | Class and Description |
---|---|
class |
ConstraintStreamScoreDirector<Solution_>
FP streams implementation of
ScoreDirector , which only recalculates the Score
of the part of the working solution that changed,
instead of the going through the entire PlanningSolution . |
Modifier and Type | Method and Description |
---|---|
void |
ProblemFactChange.doChange(ScoreDirector<Solution_> scoreDirector)
Does the change on the
PlanningSolution of the ScoreDirector
and notifies the ScoreDirector accordingly. |
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.