Constructor and Description |
---|
BackTrackNeighbour(List<V> resolvedVariables)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
assign(long iteration)
Assign the neighbour
|
int |
compareTo(Solution<V,T> solution)
Compare two neighbours
|
List<T> |
getAssignments()
Neighbour assignments
|
double |
getTotalValue()
Neighbour value (solution total value if the neighbour is applied).
|
String |
toString() |
double |
value()
Sum of values of variables from the neighbour that change their
values
|
public BackTrackNeighbour(List<V> resolvedVariables)
resolvedVariables
- variables that has been changedpublic double getTotalValue()
public double value()
public List<T> getAssignments()
public void assign(long iteration)