public class NeighbourSelectionWithSuggestions.SuggestionNeighbour extends Object implements Neighbour<Lecture,Placement>
Constructor and Description |
---|
SuggestionNeighbour(Map<Lecture,Placement> resolvedLectures,
double value) |
Modifier and Type | Method and Description |
---|---|
void |
assign(Assignment<Lecture,Placement> assignment,
long iteration)
Perform assignment
|
Map<Lecture,Placement> |
assignments()
Return assignments to be done.
|
int |
compareTo(Solution<Lecture,Placement> solution) |
String |
toString() |
double |
value(Assignment<Lecture,Placement> assignment)
Difference in the evaluation function, if this neighnour is assigned.
|
public SuggestionNeighbour(Map<Lecture,Placement> resolvedLectures, double value)
public double value(Assignment<Lecture,Placement> assignment)
Neighbour
public void assign(Assignment<Lecture,Placement> assignment, long iteration)
Neighbour
public Map<Lecture,Placement> assignments()
Neighbour
assignments
in interface Neighbour<Lecture,Placement>