OptaPlanner examples 6.1.0.Beta4

org.optaplanner.examples.nurserostering.solver.move
Class EmployeeMultipleChangeMove

java.lang.Object
  extended by org.optaplanner.examples.nurserostering.solver.move.EmployeeMultipleChangeMove
All Implemented Interfaces:
org.optaplanner.core.impl.heuristic.move.Move

public class EmployeeMultipleChangeMove
extends Object
implements org.optaplanner.core.impl.heuristic.move.Move


Constructor Summary
EmployeeMultipleChangeMove(Employee fromEmployee, List<ShiftAssignment> shiftAssignmentList, Employee toEmployee)
           
 
Method Summary
 org.optaplanner.core.impl.heuristic.move.Move createUndoMove(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector)
           
 void doMove(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector)
           
 boolean equals(Object o)
           
 Collection<? extends Object> getPlanningEntities()
           
 Collection<? extends Object> getPlanningValues()
           
 int hashCode()
           
 boolean isMoveDoable(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmployeeMultipleChangeMove

public EmployeeMultipleChangeMove(Employee fromEmployee,
                                  List<ShiftAssignment> shiftAssignmentList,
                                  Employee toEmployee)
Method Detail

isMoveDoable

public boolean isMoveDoable(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector)
Specified by:
isMoveDoable in interface org.optaplanner.core.impl.heuristic.move.Move

createUndoMove

public org.optaplanner.core.impl.heuristic.move.Move createUndoMove(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector)
Specified by:
createUndoMove in interface org.optaplanner.core.impl.heuristic.move.Move

doMove

public void doMove(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector)
Specified by:
doMove in interface org.optaplanner.core.impl.heuristic.move.Move

getPlanningEntities

public Collection<? extends Object> getPlanningEntities()
Specified by:
getPlanningEntities in interface org.optaplanner.core.impl.heuristic.move.Move

getPlanningValues

public Collection<? extends Object> getPlanningValues()
Specified by:
getPlanningValues in interface org.optaplanner.core.impl.heuristic.move.Move

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

OptaPlanner examples 6.1.0.Beta4

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.