public class ExamColoringConstruction extends Object implements NeighbourSelection<Exam,ExamPlacement>
Constructor and Description |
---|
ExamColoringConstruction(DataProperties config) |
Modifier and Type | Method and Description |
---|---|
Set<ExamRoomPlacement> |
findRooms(Assignment<Exam,ExamPlacement> assignment,
Exam exam,
ExamPeriodPlacement period) |
void |
init(Solver<Exam,ExamPlacement> solver)
Criterion initialization
|
Neighbour<Exam,ExamPlacement> |
selectNeighbour(Solution<Exam,ExamPlacement> solution)
select a neighbour of a given solution
|
public ExamColoringConstruction(DataProperties config)
public void init(Solver<Exam,ExamPlacement> solver)
NeighbourSelection
init
in interface NeighbourSelection<Exam,ExamPlacement>
solver
- current solverpublic Set<ExamRoomPlacement> findRooms(Assignment<Exam,ExamPlacement> assignment, Exam exam, ExamPeriodPlacement period)
public Neighbour<Exam,ExamPlacement> selectNeighbour(Solution<Exam,ExamPlacement> solution)
NeighbourSelection
selectNeighbour
in interface NeighbourSelection<Exam,ExamPlacement>
solution
- given solution