Constructor and Description |
---|
SwapNeighbour(Collection<T> assignments,
double value) |
Modifier and Type | Method and Description |
---|---|
void |
assign(Assignment<V,T> assignment,
long iteration)
Perform assignment
|
Map<V,T> |
assignments()
Return assignments to be done.
|
String |
toString() |
double |
value(Assignment<V,T> assignment)
Difference in the evaluation function, if this neighnour is assigned.
|
public SwapNeighbour(Collection<T> assignments, double value)
public double value(Assignment<V,T> assignment)
Neighbour
public void assign(Assignment<V,T> assignment, long iteration)
Neighbour