|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.cpsolver.ifs.model.Neighbour net.sf.cpsolver.studentsct.heuristics.selection.BranchBoundSelection.BranchBoundNeighbour
public static class BranchBoundSelection.BranchBoundNeighbour
Branch & bound neighbour -- a schedule of a student
Constructor Summary | |
---|---|
BranchBoundSelection.BranchBoundNeighbour(double value,
Enrollment[] assignment)
Constructor |
Method Summary | |
---|---|
void |
assign(long iteration)
Assign the schedule |
Enrollment[] |
getAssignment()
Assignment |
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 BranchBoundSelection.BranchBoundNeighbour(double value, Enrollment[] assignment)
value
- value of the scheduleassignment
- enrollments of student's requestsMethod Detail |
---|
public double value()
Neighbour
value
in class Neighbour
public Enrollment[] getAssignment()
public void assign(long iteration)
assign
in class Neighbour
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |