public class ResectionUnassignedStudentsSelection extends BranchBoundSelection
BranchBoundSelection
, where only students that have no enrollments (
Student.nrAssignedRequests()
is zero) are resectioned.
BranchBoundSelection.BranchBoundNeighbour, BranchBoundSelection.Selection
iDistanceConflict, iDistConfWeight, iMinimizePenalty, iModel, iOrder, iStudentsEnumeration, iTimeout, iTimeOverlaps, sDebug
Constructor and Description |
---|
ResectionUnassignedStudentsSelection(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 ResectionUnassignedStudentsSelection(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