org.drools.planner.examples.travelingtournament.solver.smart.move
Class MultipleMatchListRotateMove

java.lang.Object
  extended by org.drools.planner.examples.travelingtournament.solver.smart.move.MultipleMatchListRotateMove
All Implemented Interfaces:
Move

public class MultipleMatchListRotateMove
extends Object
implements Move


Constructor Summary
MultipleMatchListRotateMove(List<Match> firstMatchList, List<Match> secondMatchList)
           
 
Method Summary
 Move createUndoMove(ScoreDirector scoreDirector)
           
 void doMove(ScoreDirector scoreDirector)
           
 boolean equals(Object o)
           
 Collection<? extends Object> getPlanningEntities()
           
 Collection<? extends Object> getPlanningValues()
           
 int hashCode()
           
 boolean isMoveDoable(ScoreDirector scoreDirector)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultipleMatchListRotateMove

public MultipleMatchListRotateMove(List<Match> firstMatchList,
                                   List<Match> secondMatchList)
Method Detail

isMoveDoable

public boolean isMoveDoable(ScoreDirector scoreDirector)
Specified by:
isMoveDoable in interface Move

createUndoMove

public Move createUndoMove(ScoreDirector scoreDirector)
Specified by:
createUndoMove in interface Move

doMove

public void doMove(ScoreDirector scoreDirector)
Specified by:
doMove in interface Move

getPlanningEntities

public Collection<? extends Object> getPlanningEntities()
Specified by:
getPlanningEntities in interface Move

getPlanningValues

public Collection<? extends Object> getPlanningValues()
Specified by:
getPlanningValues in interface 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


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.