net.sf.cpsolver.studentsct.heuristics
Class TwoPhaseStudentSctNeighbourSelection.RestoreDummyStudents
java.lang.Object
net.sf.cpsolver.studentsct.heuristics.TwoPhaseStudentSctNeighbourSelection.RestoreDummyStudents
- All Implemented Interfaces:
- NeighbourSelection
- Enclosing class:
- TwoPhaseStudentSctNeighbourSelection
protected class TwoPhaseStudentSctNeighbourSelection.RestoreDummyStudents
- extends Object
- implements NeighbourSelection
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 solver)
- Description copied from interface:
NeighbourSelection
- Criterion initialization
- Specified by:
init
in interface NeighbourSelection
selectNeighbour
public Neighbour selectNeighbour(Solution solution)
- Return all (removed) dummy students into the problem
- Specified by:
selectNeighbour
in interface NeighbourSelection
- Parameters:
solution
- given solution
- Returns:
- a neighbour assignment