Class MovableShiftAssignmentSelectionFilter

java.lang.Object
org.optaplanner.examples.nurserostering.domain.solver.MovableShiftAssignmentSelectionFilter
All Implemented Interfaces:
org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter<NurseRoster,ShiftAssignment>

public class MovableShiftAssignmentSelectionFilter extends Object implements org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter<NurseRoster,ShiftAssignment>
  • Constructor Details

    • MovableShiftAssignmentSelectionFilter

      public MovableShiftAssignmentSelectionFilter()
  • Method Details

    • accept

      public boolean accept(org.optaplanner.core.api.score.director.ScoreDirector<NurseRoster> scoreDirector, ShiftAssignment selection)
      Specified by:
      accept in interface org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter<NurseRoster,ShiftAssignment>