public class ShuffleStudentsSelection extends Object implements NeighbourSelection<Request,Enrollment>
Modifier and Type | Class and Description |
---|---|
static class |
ShuffleStudentsSelection.ShuffleBacktrackNeighbourSelection
A special version of the
BacktrackNeighbourSelection that filters the enrollments with the
provided section filter. |
Constructor and Description |
---|
ShuffleStudentsSelection(DataProperties properties)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
init(Solver<Request,Enrollment> solver)
Criterion initialization
|
Neighbour<Request,Enrollment> |
selectNeighbour(Solution<Request,Enrollment> solution)
select a neighbour of a given solution
|
public ShuffleStudentsSelection(DataProperties properties)
properties
- the selection has no properties at the momentpublic void init(Solver<Request,Enrollment> solver)
NeighbourSelection
init
in interface NeighbourSelection<Request,Enrollment>
solver
- current solverpublic Neighbour<Request,Enrollment> selectNeighbour(Solution<Request,Enrollment> solution)
NeighbourSelection
selectNeighbour
in interface NeighbourSelection<Request,Enrollment>
solution
- given solution