public static class BranchBoundSelection.BranchBoundNeighbour extends Neighbour<Request,Enrollment>
Constructor and Description |
---|
BranchBoundNeighbour(Student student,
double value,
Enrollment[] assignment)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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.
|
public BranchBoundNeighbour(Student student, double value, Enrollment[] assignment)
value
- value of the scheduleassignment
- enrollments of student's requestspublic 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>