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

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

public class NeighbourExaminationMoveFactory
extends AbstractMoveFactory


Field Summary
 
Fields inherited from class org.drools.planner.core.move.factory.AbstractMoveFactory
decider, logger
 
Constructor Summary
NeighbourExaminationMoveFactory()
           
 
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, stepDecided, stepTaken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NeighbourExaminationMoveFactory

public NeighbourExaminationMoveFactory()
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.