org.drools.planner.examples.examination.solver.move.factory
Class JumpingNeighbourExaminationMoveFactory

java.lang.Object
  extended by org.drools.planner.core.move.factory.AbstractMoveFactory
      extended by org.drools.planner.examples.examination.solver.move.factory.JumpingNeighbourExaminationMoveFactory
All Implemented Interfaces:
EventListener, DeciderAware, LocalSearchSolverPhaseLifecycleListener, MoveFactory

public class JumpingNeighbourExaminationMoveFactory
extends AbstractMoveFactory


Field Summary
 
Fields inherited from class org.drools.planner.core.move.factory.AbstractMoveFactory
decider, logger
 
Constructor Summary
JumpingNeighbourExaminationMoveFactory()
           
 
Method Summary
 int calculateShortestDistance(int a, int b, int size)
           
 long calculateShortestDistance(long a, long b, long size)
           
 List<Move> createMoveList(Solution solution)
           
 
Methods inherited from class org.drools.planner.core.move.factory.AbstractMoveFactory
beforeDeciding, phaseEnded, phaseStarted, setDecider, stepTaken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JumpingNeighbourExaminationMoveFactory

public JumpingNeighbourExaminationMoveFactory()
Method Detail

createMoveList

public List<Move> createMoveList(Solution solution)

calculateShortestDistance

public int calculateShortestDistance(int a,
                                     int b,
                                     int size)

calculateShortestDistance

public long calculateShortestDistance(long a,
                                      long b,
                                      long size)


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