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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(org.optaplanner.core.api.score.director.ScoreDirector<NurseRoster> scoreDirector, ShiftAssignment selection)
-
Constructor Details
-
MovableShiftAssignmentSelectionFilter
public MovableShiftAssignmentSelectionFilter()
-
-
Method Details
-
accept
public boolean accept(org.optaplanner.core.api.score.director.ScoreDirector<NurseRoster> scoreDirector, ShiftAssignment selection) - Specified by:
acceptin interfaceorg.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter<NurseRoster,ShiftAssignment>
-