public class ResectionIncompleteStudentsSelection extends BranchBoundSelection
BranchBoundSelection
,
where only students that are not complete (Student.isComplete(Assignment)
is
false) and that are sectioned somewhere (Student.nrAssignedRequests(Assignment)
is greater then zero) are resectioned.
BranchBoundSelection.BranchBoundNeighbour, BranchBoundSelection.Selection
iBranchWhenSelectedHasNoConflict, iDistanceConflict, iDistConfWeight, iFilter, iMinimizePenalty, iModel, iNbrIterations, iNbrNoSolution, iNbrTimeoutReached, iOrder, iStudentQuality, iStudents, iTimeout, iTimeOverlaps, iTimesToAvoidHeuristics, iTotalTime, sDebug
Constructor and Description |
---|
ResectionIncompleteStudentsSelection(DataProperties properties) |
Modifier and Type | Method and Description |
---|---|
void |
init(Solver<Request,Enrollment> solver)
Criterion initialization
|
Neighbour<Request,Enrollment> |
selectNeighbour(Solution<Request,Enrollment> solution)
Select neighbour.
|
addStudent, getFilter, getInfo, getInfo, getSelection, init, neighbourFailed, neighbourSelected, nextStudent, setModel, valueSelected, variableSelected, withFilter
public ResectionIncompleteStudentsSelection(DataProperties properties)
public void init(Solver<Request,Enrollment> solver)
NeighbourSelection
init
in interface NeighbourSelection<Request,Enrollment>
init
in class BranchBoundSelection
solver
- current solverpublic Neighbour<Request,Enrollment> selectNeighbour(Solution<Request,Enrollment> solution)
selectNeighbour
in interface NeighbourSelection<Request,Enrollment>
selectNeighbour
in class BranchBoundSelection
solution
- given solution