public class NeighbourSelectionWithSuggestions.NeighbourSelectionWithSuggestionsContext extends Object
Constructor and Description |
---|
NeighbourSelectionWithSuggestionsContext(Solution<Lecture,Placement> solution) |
Modifier and Type | Method and Description |
---|---|
Assignment<Lecture,Placement> |
getAssignment() |
TimetableModel |
getModel() |
int |
getNrAssigned() |
Solution<Lecture,Placement> |
getSolution() |
NeighbourSelectionWithSuggestions.SuggestionNeighbour |
getSuggestionNeighbour() |
double |
getValue() |
boolean |
checkTimeoutReached() |
boolean |
isTimeoutReached() |
boolean |
setSuggestionNeighbourIfImproving(Map<Lecture,Placement> assignment) |
void |
setTimeoutReached(boolean timeoutReached) |
public NeighbourSelectionWithSuggestionsContext(Solution<Lecture,Placement> solution)
public NeighbourSelectionWithSuggestions.SuggestionNeighbour getSuggestionNeighbour()
public boolean setSuggestionNeighbourIfImproving(Map<Lecture,Placement> assignment)
public Solution<Lecture,Placement> getSolution()
public Assignment<Lecture,Placement> getAssignment()
public TimetableModel getModel()
public int getNrAssigned()
public double getValue()
public boolean isTimeoutReached()
public boolean checkTimeoutReached()
public void setTimeoutReached(boolean timeoutReached)