OptaPlanner distribution 6.1.0.Final

org.optaplanner.examples.tennis.domain.solver
Class MovableTeamAssignmentSelectionFilter

java.lang.Object
  extended by org.optaplanner.examples.tennis.domain.solver.MovableTeamAssignmentSelectionFilter
All Implemented Interfaces:
SelectionFilter<TeamAssignment>

public class MovableTeamAssignmentSelectionFilter
extends Object
implements SelectionFilter<TeamAssignment>


Constructor Summary
MovableTeamAssignmentSelectionFilter()
           
 
Method Summary
 boolean accept(ScoreDirector scoreDirector, TeamAssignment teamAssignment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MovableTeamAssignmentSelectionFilter

public MovableTeamAssignmentSelectionFilter()
Method Detail

accept

public boolean accept(ScoreDirector scoreDirector,
                      TeamAssignment teamAssignment)
Specified by:
accept in interface SelectionFilter<TeamAssignment>
Parameters:
scoreDirector - never null, the ScoreDirector which has the ScoreDirector.getWorkingSolution() to which the selection belongs or applies to
teamAssignment - never null, a PlanningEntity, a planningValue, a Move or a Selector
Returns:
true if the selection is accepted, false if the selection should be discarded

OptaPlanner distribution 6.1.0.Final

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