public static class ShuffleStudentsSelection.ShuffleBacktrackNeighbourSelection extends BacktrackNeighbourSelection<Request,Enrollment>
BacktrackNeighbourSelection
that filters the enrollments with the
provided section filter.BacktrackNeighbourSelection.BackTrackNeighbour, BacktrackNeighbourSelection.BacktrackNeighbourSelectionContext
iContext
iSolver, sLogger
Modifier and Type | Method and Description |
---|---|
protected Neighbour<Request,Enrollment> |
selectNeighbour(Solution<Request,Enrollment> solution,
org.cpsolver.studentsct.heuristics.selection.ShuffleStudentsSelection.Shuffle shuffle) |
protected Iterator<Enrollment> |
values(BacktrackNeighbourSelection.BacktrackNeighbourSelectionContext context,
Request variable)
List of values of the given variable that will be considered (filtered using
ShuffleStudentsSelection.Shuffle.matchFilter(Enrollment) if applicable). |
backtrack, canContinue, canContinueEvaluation, checkBound, getContext, getDepth, getMaxIters, getTimeout, init, selectNeighbour, selectNeighbour, selectNeighbour, setDepth, setMaxIters, setTimeout
getValueSelection, getVariableSelection, selectValue, selectVariable, setValueSelection, setVariableSelection
protected Iterator<Enrollment> values(BacktrackNeighbourSelection.BacktrackNeighbourSelectionContext context, Request variable)
ShuffleStudentsSelection.Shuffle.matchFilter(Enrollment)
if applicable).values
in class BacktrackNeighbourSelection<Request,Enrollment>
context
- assignment contextvariable
- given variableprotected Neighbour<Request,Enrollment> selectNeighbour(Solution<Request,Enrollment> solution, org.cpsolver.studentsct.heuristics.selection.ShuffleStudentsSelection.Shuffle shuffle)