OptaPlanner examples 6.1.0.Beta4

org.optaplanner.examples.pas.solver.move
Class BedDesignationSwapMove

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

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


Constructor Summary
BedDesignationSwapMove(BedDesignation leftBedDesignation, BedDesignation rightBedDesignation)
           
 
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

BedDesignationSwapMove

public BedDesignationSwapMove(BedDesignation leftBedDesignation,
                              BedDesignation rightBedDesignation)
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.