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 Details

    • DifferentCourseSwapMoveFilter

      public DifferentCourseSwapMoveFilter()
  • Method Details

    • 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>