Class MatchChainRotationsMove
java.lang.Object
org.optaplanner.core.impl.heuristic.move.AbstractMove<TravelingTournament>
org.optaplanner.examples.travelingtournament.solver.move.MatchChainRotationsMove
- All Implemented Interfaces:
org.optaplanner.core.impl.heuristic.move.Move<TravelingTournament>
public class MatchChainRotationsMove
extends org.optaplanner.core.impl.heuristic.move.AbstractMove<TravelingTournament>
-
Constructor Summary
ConstructorsConstructorDescriptionMatchChainRotationsMove(List<Match> firstMatchList, List<Match> secondMatchList) -
Method Summary
Modifier and TypeMethodDescriptioncreateUndoMove(org.optaplanner.core.api.score.director.ScoreDirector<TravelingTournament> scoreDirector) protected voiddoMoveOnGenuineVariables(org.optaplanner.core.api.score.director.ScoreDirector<TravelingTournament> scoreDirector) booleanCollection<? extends Object>Collection<? extends Object>inthashCode()booleanisMoveDoable(org.optaplanner.core.api.score.director.ScoreDirector<TravelingTournament> scoreDirector) rebase(org.optaplanner.core.api.score.director.ScoreDirector<TravelingTournament> destinationScoreDirector) toString()Methods inherited from class org.optaplanner.core.impl.heuristic.move.AbstractMove
doMove, doMoveOnly, rebaseArray, rebaseListMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.optaplanner.core.impl.heuristic.move.Move
getSimpleMoveTypeDescription
-
Constructor Details
-
MatchChainRotationsMove
-
-
Method Details
-
isMoveDoable
public boolean isMoveDoable(org.optaplanner.core.api.score.director.ScoreDirector<TravelingTournament> scoreDirector) -
createUndoMove
public MatchChainRotationsMove createUndoMove(org.optaplanner.core.api.score.director.ScoreDirector<TravelingTournament> scoreDirector) - Specified by:
createUndoMovein classorg.optaplanner.core.impl.heuristic.move.AbstractMove<TravelingTournament>
-
doMoveOnGenuineVariables
protected void doMoveOnGenuineVariables(org.optaplanner.core.api.score.director.ScoreDirector<TravelingTournament> scoreDirector) - Specified by:
doMoveOnGenuineVariablesin classorg.optaplanner.core.impl.heuristic.move.AbstractMove<TravelingTournament>
-
rebase
public MatchChainRotationsMove rebase(org.optaplanner.core.api.score.director.ScoreDirector<TravelingTournament> destinationScoreDirector) -
getPlanningEntities
-
getPlanningValues
-
equals
-
hashCode
public int hashCode() -
toString
-