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

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


Constructor Summary
TwoPhaseStudentSctNeighbourSelection.RestoreDummyStudents()
           
 
Method Summary
 void init(Solver<Request,Enrollment> solver)
          Criterion initialization
 Neighbour<Request,Enrollment> selectNeighbour(Solution<Request,Enrollment> 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<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.