OptaPlanner examples 6.1.0.Beta4

org.optaplanner.examples.curriculumcourse.solver.move
Class DifferentCourseSwapMoveFilter

java.lang.Object
  extended by org.optaplanner.examples.curriculumcourse.solver.move.DifferentCourseSwapMoveFilter
All Implemented Interfaces:
org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter<org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove>

public class DifferentCourseSwapMoveFilter
extends Object
implements org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter<org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove>


Constructor Summary
DifferentCourseSwapMoveFilter()
           
 
Method Summary
 boolean accept(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector, org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove move)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DifferentCourseSwapMoveFilter

public DifferentCourseSwapMoveFilter()
Method Detail

accept

public boolean accept(org.optaplanner.core.impl.score.director.ScoreDirector scoreDirector,
                      org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove move)
Specified by:
accept in interface org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter<org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove>

OptaPlanner examples 6.1.0.Beta4

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.