net.sf.cpsolver.studentsct.heuristics
Class TwoPhaseStudentSctNeighbourSelection.RestoreDummyStudents
java.lang.Object
net.sf.cpsolver.studentsct.heuristics.TwoPhaseStudentSctNeighbourSelection.RestoreDummyStudents
- All Implemented Interfaces:
- NeighbourSelection<Request,Enrollment>
- Enclosing class:
- TwoPhaseStudentSctNeighbourSelection
protected class TwoPhaseStudentSctNeighbourSelection.RestoreDummyStudents
- extends Object
- implements NeighbourSelection<Request,Enrollment>
Return all dummy students into the problem, executed as the last phase of
the first round
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TwoPhaseStudentSctNeighbourSelection.RestoreDummyStudents
public TwoPhaseStudentSctNeighbourSelection.RestoreDummyStudents()
init
public void init(Solver<Request,Enrollment> solver)
- Description copied from interface:
NeighbourSelection
- Criterion initialization
- Specified by:
init
in interface NeighbourSelection<Request,Enrollment>
selectNeighbour
public Neighbour<Request,Enrollment> selectNeighbour(Solution<Request,Enrollment> solution)
- Return all (removed) dummy students into the problem
- Specified by:
selectNeighbour
in interface NeighbourSelection<Request,Enrollment>
- Parameters:
solution
- given solution
- Returns:
- a neighbour assignment
Copyright © 2014 UniTime LLC. All Rights Reserved.