|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.cpsolver.ifs.model.Neighbour<Request,Enrollment>
net.sf.cpsolver.studentsct.heuristics.selection.SwapStudentSelection.SwapStudentNeighbour
public static class SwapStudentSelection.SwapStudentNeighbour
Neighbour that contains the swap
Constructor Summary | |
---|---|
SwapStudentSelection.SwapStudentNeighbour(double value,
Enrollment enrollment,
List<Enrollment> swaps)
Constructor |
Method Summary | |
---|---|
void |
assign(long iteration)
Perform the move. |
String |
toString()
|
double |
value()
Difference in the evaluation function, if this neighnour is assigned. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SwapStudentSelection.SwapStudentNeighbour(double value, Enrollment enrollment, List<Enrollment> swaps)
value
- cost of the moveenrollment
- the enrollment which is to be assigned to the given
studentswaps
- enrollment swapsMethod Detail |
---|
public double value()
Neighbour
value
in class Neighbour<Request,Enrollment>
public void assign(long iteration)
assign
in class Neighbour<Request,Enrollment>
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |