OptaPlanner distribution 6.0.0-SNAPSHOT

org.optaplanner.examples.curriculumcourse.domain.solver
Class MovableLectureSelectionFilter

java.lang.Object
  extended by org.optaplanner.examples.curriculumcourse.domain.solver.MovableLectureSelectionFilter
All Implemented Interfaces:
SelectionFilter<Lecture>

public class MovableLectureSelectionFilter
extends Object
implements SelectionFilter<Lecture>


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

Constructor Detail

MovableLectureSelectionFilter

public MovableLectureSelectionFilter()
Method Detail

accept

public boolean accept(ScoreDirector scoreDirector,
                      Lecture lecture)
Specified by:
accept in interface SelectionFilter<Lecture>
Parameters:
scoreDirector - never null, the ScoreDirector which has the ScoreDirector.getWorkingSolution() to which the selection belongs or applies to
lecture - 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.0.0-SNAPSHOT

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