public class ResectionIncompleteStudentsSelection extends BranchBoundSelection
BranchBoundSelection
,
where only students that are not complete (Student.isComplete()
is
false) and that are sectioned somewhere (Student.nrAssignedRequests()
is greater then zero) are resectioned.
BranchBoundSelection.BranchBoundNeighbour, BranchBoundSelection.Selection
iDistanceConflict, iDistConfWeight, iMinimizePenalty, iModel, iOrder, iStudentsEnumeration, iTimeout, iTimeOverlaps, 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.
|
getSelection, init, setModel
public ResectionIncompleteStudentsSelection(DataProperties properties)
public void init(Solver<Request,Enrollment> solver)
NeighbourSelection
init
in interface NeighbourSelection<Request,Enrollment>
init
in class BranchBoundSelection
public Neighbour<Request,Enrollment> selectNeighbour(Solution<Request,Enrollment> solution)
selectNeighbour
in interface NeighbourSelection<Request,Enrollment>
selectNeighbour
in class BranchBoundSelection
solution
- given solution