public class ResectionUnassignedStudentsSelection extends BranchBoundSelection
BranchBoundSelection
, where only students that have no enrollments (
Student.nrAssignedRequests(Assignment)
is 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 |
---|
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.
|
addStudent, getFilter, getInfo, getInfo, getSelection, init, neighbourFailed, neighbourSelected, nextStudent, setModel, valueSelected, variableSelected, withFilter
public ResectionUnassignedStudentsSelection(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