Class DifferentCourseSwapMoveFilter
- java.lang.Object
-
- org.optaplanner.examples.curriculumcourse.solver.move.DifferentCourseSwapMoveFilter
-
- All Implemented Interfaces:
org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter<CourseSchedule,org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove>
public class DifferentCourseSwapMoveFilter extends Object implements org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter<CourseSchedule,org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove>
-
-
Constructor Summary
Constructors Constructor Description DifferentCourseSwapMoveFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(org.optaplanner.core.api.score.director.ScoreDirector<CourseSchedule> scoreDirector, org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove move)
-
-
-
Method Detail
-
accept
public boolean accept(org.optaplanner.core.api.score.director.ScoreDirector<CourseSchedule> scoreDirector, org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove move)
- Specified by:
acceptin interfaceorg.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter<CourseSchedule,org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove>
-
-