Class RowChangeMove
java.lang.Object
org.optaplanner.core.impl.heuristic.move.AbstractMove<NQueens>
org.optaplanner.examples.nqueens.optional.solver.move.RowChangeMove
- All Implemented Interfaces:
org.optaplanner.core.impl.heuristic.move.Move<NQueens>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateUndoMove(org.optaplanner.core.api.score.director.ScoreDirector<NQueens> scoreDirector) protected voiddoMoveOnGenuineVariables(org.optaplanner.core.api.score.director.ScoreDirector<NQueens> scoreDirector) booleanCollection<? extends Object>Collection<? extends Object>inthashCode()booleanisMoveDoable(org.optaplanner.core.api.score.director.ScoreDirector<NQueens> scoreDirector) 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
-
RowChangeMove
-
-
Method Details
-
isMoveDoable
public boolean isMoveDoable(org.optaplanner.core.api.score.director.ScoreDirector<NQueens> scoreDirector) -
createUndoMove
public RowChangeMove createUndoMove(org.optaplanner.core.api.score.director.ScoreDirector<NQueens> scoreDirector) - Specified by:
createUndoMovein classorg.optaplanner.core.impl.heuristic.move.AbstractMove<NQueens>
-
doMoveOnGenuineVariables
protected void doMoveOnGenuineVariables(org.optaplanner.core.api.score.director.ScoreDirector<NQueens> scoreDirector) - Specified by:
doMoveOnGenuineVariablesin classorg.optaplanner.core.impl.heuristic.move.AbstractMove<NQueens>
-
rebase
public RowChangeMove rebase(org.optaplanner.core.api.score.director.ScoreDirector<NQueens> destinationScoreDirector) -
getPlanningEntities
-
getPlanningValues
-
equals
-
hashCode
public int hashCode() -
toString
-