Class BedChangeMove
java.lang.Object
org.optaplanner.core.impl.heuristic.move.AbstractMove<PatientAdmissionSchedule>
org.optaplanner.examples.pas.solver.move.BedChangeMove
- All Implemented Interfaces:
org.optaplanner.core.impl.heuristic.move.Move<PatientAdmissionSchedule>
public class BedChangeMove
extends org.optaplanner.core.impl.heuristic.move.AbstractMove<PatientAdmissionSchedule>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateUndoMove
(org.optaplanner.core.api.score.director.ScoreDirector<PatientAdmissionSchedule> scoreDirector) protected void
doMoveOnGenuineVariables
(org.optaplanner.core.api.score.director.ScoreDirector<PatientAdmissionSchedule> scoreDirector) boolean
Collection<? extends Object>
Collection<? extends Object>
int
hashCode()
boolean
isMoveDoable
(org.optaplanner.core.api.score.director.ScoreDirector<PatientAdmissionSchedule> scoreDirector) rebase
(org.optaplanner.core.api.score.director.ScoreDirector<PatientAdmissionSchedule> destinationScoreDirector) toString()
Methods inherited from class org.optaplanner.core.impl.heuristic.move.AbstractMove
doMove, doMoveOnly, rebaseArray, rebaseList
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.optaplanner.core.impl.heuristic.move.Move
getSimpleMoveTypeDescription
-
Constructor Details
-
BedChangeMove
-
-
Method Details
-
isMoveDoable
public boolean isMoveDoable(org.optaplanner.core.api.score.director.ScoreDirector<PatientAdmissionSchedule> scoreDirector) -
createUndoMove
public BedChangeMove createUndoMove(org.optaplanner.core.api.score.director.ScoreDirector<PatientAdmissionSchedule> scoreDirector) - Specified by:
createUndoMove
in classorg.optaplanner.core.impl.heuristic.move.AbstractMove<PatientAdmissionSchedule>
-
doMoveOnGenuineVariables
protected void doMoveOnGenuineVariables(org.optaplanner.core.api.score.director.ScoreDirector<PatientAdmissionSchedule> scoreDirector) - Specified by:
doMoveOnGenuineVariables
in classorg.optaplanner.core.impl.heuristic.move.AbstractMove<PatientAdmissionSchedule>
-
rebase
public BedChangeMove rebase(org.optaplanner.core.api.score.director.ScoreDirector<PatientAdmissionSchedule> destinationScoreDirector) -
getPlanningEntities
-
getPlanningValues
-
equals
-
hashCode
public int hashCode() -
toString
-