OptaPlanner examples 6.2.0.CR1

org.optaplanner.examples.dinnerparty.solver.move
Class DifferentGenderSwapMoveFilter

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

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


Constructor Summary
DifferentGenderSwapMoveFilter()
           
 
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

DifferentGenderSwapMoveFilter

public DifferentGenderSwapMoveFilter()
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.2.0.CR1

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