Class 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 Detail

      • DifferentCourseSwapMoveFilter

        public DifferentCourseSwapMoveFilter()
    • 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:
        accept in interface org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter<CourseSchedule,​org.optaplanner.core.impl.heuristic.selector.move.generic.SwapMove>