| Modifier and Type | Field and Description |
|---|---|
protected List<SingletonInverseVariableSupply> |
inverseVariableSupplyList |
leftEntity, rightEntity, variableDescriptorList| Constructor and Description |
|---|
ChainedSwapMove(List<GenuineVariableDescriptor> variableDescriptorList,
List<SingletonInverseVariableSupply> inverseVariableSupplyList,
Object leftEntity,
Object rightEntity) |
| Modifier and Type | Method and Description |
|---|---|
Move |
createUndoMove(ScoreDirector 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.
|
protected void |
doMoveOnGenuineVariables(ScoreDirector scoreDirector)
Like
AbstractMove.doMove(ScoreDirector) but without the ScoreDirector.triggerVariableListeners() call
(because AbstractMove.doMove(ScoreDirector) already does that). |
appendVariablesToString, equals, getLeftEntity, getPlanningEntities, getPlanningValues, getRightEntity, getSimpleMoveTypeDescription, hashCode, isMoveDoable, toStringdoMoveprotected final List<SingletonInverseVariableSupply> inverseVariableSupplyList
public ChainedSwapMove(List<GenuineVariableDescriptor> variableDescriptorList, List<SingletonInverseVariableSupply> inverseVariableSupplyList, Object leftEntity, Object rightEntity)
public Move createUndoMove(ScoreDirector scoreDirector)
MovecreateUndoMove in interface MovecreateUndoMove in class SwapMovescoreDirector - the ScoreDirector not yet modified by the move.protected void doMoveOnGenuineVariables(ScoreDirector scoreDirector)
AbstractMoveAbstractMove.doMove(ScoreDirector) but without the ScoreDirector.triggerVariableListeners() call
(because AbstractMove.doMove(ScoreDirector) already does that).doMoveOnGenuineVariables in class SwapMovescoreDirector - never nullCopyright © 2006–2016 JBoss by Red Hat. All rights reserved.