public class NeighbourSelectionWithSuggestions extends StandardNeighbourSelection<Lecture,Placement>
StandardNeighbourSelection
Modifier and Type | Class and Description |
---|---|
class |
NeighbourSelectionWithSuggestions.NeighbourSelectionWithSuggestionsContext |
class |
NeighbourSelectionWithSuggestions.SuggestionNeighbour |
sLogger
Constructor and Description |
---|
NeighbourSelectionWithSuggestions(DataProperties properties) |
NeighbourSelectionWithSuggestions(Solver<Lecture,Placement> solver) |
Modifier and Type | Method and Description |
---|---|
void |
init(Solver<Lecture,Placement> solver)
Initialization -- methods
VariableSelection.init(Solver) and
ValueSelection.init(Solver) are
called. |
Neighbour<Lecture,Placement> |
selectNeighbour(Solution<Lecture,Placement> solution)
Select neighbour.
|
Neighbour<Lecture,Placement> |
selectNeighbourWithSuggestions(Solution<Lecture,Placement> solution,
Lecture lecture,
int depth) |
getValueSelection, getVariableSelection, selectValue, selectVariable, setValueSelection, setVariableSelection
public NeighbourSelectionWithSuggestions(DataProperties properties) throws Exception
Exception
public void init(Solver<Lecture,Placement> solver)
StandardNeighbourSelection
VariableSelection.init(Solver)
and
ValueSelection.init(Solver)
are
called.init
in interface NeighbourSelection<Lecture,Placement>
init
in class StandardNeighbourSelection<Lecture,Placement>
solver
- current solverpublic Neighbour<Lecture,Placement> selectNeighbour(Solution<Lecture,Placement> solution)
StandardNeighbourSelection
selectNeighbour
in interface NeighbourSelection<Lecture,Placement>
selectNeighbour
in class StandardNeighbourSelection<Lecture,Placement>
solution
- given solutionCopyright © 2016 UniTime LLC. All Rights Reserved.