public class FixCompleteSolutionNeighbourSelection extends NeighbourSelectionWithContext<Lecture,Placement,FixCompleteSolutionNeighbourSelection.FixCompleteSolutionNeighbourContext>
| Modifier and Type | Class and Description |
|---|---|
class |
FixCompleteSolutionNeighbourSelection.FixCompleteSolutionNeighbourContext |
iContextOverridesMaxSize| Constructor and Description |
|---|
FixCompleteSolutionNeighbourSelection(DataProperties config) |
FixCompleteSolutionNeighbourSelection(DataProperties config,
NeighbourSelection<Lecture,Placement> parent) |
| Modifier and Type | Method and Description |
|---|---|
FixCompleteSolutionNeighbourSelection.FixCompleteSolutionNeighbourContext |
createAssignmentContext(Assignment<Lecture,Placement> assignment)
Create a new assignment context for the given assignment.
|
void |
init(Solver<Lecture,Placement> solver)
Criterion initialization
|
Neighbour<Lecture,Placement> |
selectNeighbour(Solution<Lecture,Placement> solution)
Try to improve existing solution by backtracking search of very limited
depth.
|
getAssignmentContextReference, getContext, getContext, hasContextOverride, isSingleContextSolver, setAssignmentContextReferencepublic FixCompleteSolutionNeighbourSelection(DataProperties config, NeighbourSelection<Lecture,Placement> parent) throws Exception
Exceptionpublic FixCompleteSolutionNeighbourSelection(DataProperties config) throws Exception
Exceptionpublic void init(Solver<Lecture,Placement> solver)
NeighbourSelectioninit in interface NeighbourSelection<Lecture,Placement>init in class NeighbourSelectionWithContext<Lecture,Placement,FixCompleteSolutionNeighbourSelection.FixCompleteSolutionNeighbourContext>solver - current solverpublic Neighbour<Lecture,Placement> selectNeighbour(Solution<Lecture,Placement> solution)
NeighbourSelectionWithSuggestions for more details.solution - given solutionpublic FixCompleteSolutionNeighbourSelection.FixCompleteSolutionNeighbourContext createAssignmentContext(Assignment<Lecture,Placement> assignment)
HasAssignmentContextassignment - an assignment for which there needs to be an assignment context