|
||||||||||
| 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.BranchBoundSelection.BranchBoundNeighbour
public static class BranchBoundSelection.BranchBoundNeighbour
Branch & bound neighbour -- a schedule of a student
| Constructor Summary | |
|---|---|
BranchBoundSelection.BranchBoundNeighbour(Student student,
double value,
Enrollment[] assignment)
Constructor |
|
| Method Summary | |
|---|---|
void |
assign(long iteration)
Assign the schedule |
Enrollment[] |
getAssignment()
Assignment |
Student |
getStudent()
Student |
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(Student student,
double value,
Enrollment[] assignment)
value - value of the scheduleassignment - enrollments of student's requests| Method Detail |
|---|
public double value()
Neighbour
value in class Neighbour<Request,Enrollment>public Enrollment[] getAssignment()
public Student getStudent()
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 | |||||||||