org.optaplanner.examples.curriculumcourse.domain.solver
Class MovableLectureSelectionFilter
java.lang.Object
org.optaplanner.examples.curriculumcourse.domain.solver.MovableLectureSelectionFilter
- All Implemented Interfaces:
- SelectionFilter<Lecture>
public class MovableLectureSelectionFilter
- extends Object
- implements SelectionFilter<Lecture>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MovableLectureSelectionFilter
public MovableLectureSelectionFilter()
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 tolecture
- 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
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.