public class RandomizedBacktrackNeighbourSelection extends BacktrackNeighbourSelection<Request,Enrollment>
RandomizedBacktrackNeighbourSelection
, however, only a randomly
selected subset of enrollments of each request is considered (
CourseRequest.computeRandomEnrollments(int)
with the given limit is
used).
Parameter | Type | Comment |
---|---|---|
Neighbour.MaxValues | Integer |
Limit on the number of enrollments to be visited of each
CourseRequest . |
BacktrackNeighbourSelection.BackTrackNeighbour
iBackTrackNeighbour, iSolution, iValue
sLogger
Constructor and Description |
---|
RandomizedBacktrackNeighbourSelection(DataProperties properties)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected Iterator<Enrollment> |
values(Request variable)
List of values of a variable.
|
backtrack, canContinue, canContinueEvaluation, checkBound, getDepth, getMaxIters, getTime, getTimeout, init, isMaxItersReached, isTimeoutReached, selectNeighbour, selectNeighbour, setDepth, setMaxIters, setTimeout
getValueSelection, getVariableSelection, selectValue, selectVariable, setValueSelection, setVariableSelection
public RandomizedBacktrackNeighbourSelection(DataProperties properties) throws Exception
properties
- configurationException
protected Iterator<Enrollment> values(Request variable)
CourseRequest.computeRandomEnrollments(int)
with the provided
limit is used for a CourseRequest
.values
in class BacktrackNeighbourSelection<Request,Enrollment>