Class UndoKOptListMove<Solution_>
java.lang.Object
ai.timefold.solver.core.impl.heuristic.move.AbstractUndoMove<Solution_>
ai.timefold.solver.core.impl.heuristic.selector.move.generic.list.kopt.UndoKOptListMove<Solution_>
- Type Parameters:
Solution_-
- All Implemented Interfaces:
Move<Solution_>
A K-Opt move that does the list rotation before performing the flips instead of after, allowing
it to act as the undo move of a K-Opt move that does the rotation after the flips.
-
Field Summary
Fields inherited from class ai.timefold.solver.core.impl.heuristic.move.AbstractUndoMove
parentMove -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoMoveOnGenuineVariables(ScoreDirector<Solution_> scoreDirector) LikeAbstractUndoMove.doMoveOnly(ScoreDirector)but without theScoreDirector.triggerVariableListeners()call (becauseAbstractUndoMove.doMoveOnly(ScoreDirector)already does that).Methods inherited from class ai.timefold.solver.core.impl.heuristic.move.AbstractUndoMove
doMove, doMoveOnly, getPlanningEntities, getPlanningValues, getSimpleMoveTypeDescription, isMoveDoable, toString
-
Method Details
-
doMoveOnGenuineVariables
Description copied from class:AbstractUndoMoveLikeAbstractUndoMove.doMoveOnly(ScoreDirector)but without theScoreDirector.triggerVariableListeners()call (becauseAbstractUndoMove.doMoveOnly(ScoreDirector)already does that).- Specified by:
doMoveOnGenuineVariablesin classAbstractUndoMove<Solution_>- Parameters:
scoreDirector- never null
-