net.sf.cpsolver.studentsct.heuristics
Class TwoPhaseStudentSctNeighbourSelection.RestoreDummyStudents

java.lang.Object
  extended by 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


Constructor Summary
TwoPhaseStudentSctNeighbourSelection.RestoreDummyStudents()
           
 
Method Summary
 void init(Solver solver)
          Criterion initialization
 Neighbour selectNeighbour(Solution solution)
          Return all (removed) dummy students into the problem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwoPhaseStudentSctNeighbourSelection.RestoreDummyStudents

public TwoPhaseStudentSctNeighbourSelection.RestoreDummyStudents()
Method Detail

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