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:
TabuPropertyEnabled, Move

public class MultipleMatchListRotateMove
extends Object
implements Move, TabuPropertyEnabled


Constructor Summary
MultipleMatchListRotateMove(List<Match> firstMatchList, List<Match> secondMatchList)
           
 
Method Summary
 Move createUndoMove(org.drools.WorkingMemory workingMemory)
           
 void doMove(org.drools.WorkingMemory workingMemory)
           
 boolean equals(Object o)
           
 Collection<? extends Object> getTabuProperties()
           
 int hashCode()
           
 boolean isMoveDoable(org.drools.WorkingMemory workingMemory)
           
 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(org.drools.WorkingMemory workingMemory)
Specified by:
isMoveDoable in interface Move

createUndoMove

public Move createUndoMove(org.drools.WorkingMemory workingMemory)
Specified by:
createUndoMove in interface Move

doMove

public void doMove(org.drools.WorkingMemory workingMemory)
Specified by:
doMove in interface Move

getTabuProperties

public Collection<? extends Object> getTabuProperties()
Specified by:
getTabuProperties in interface TabuPropertyEnabled

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-2011 JBoss Inc.. All Rights Reserved.