public class RandomizedBacktrackNeighbourSelection extends BacktrackNeighbourSelection<Request,Enrollment>
RandomizedBacktrackNeighbourSelection, however, only a randomly
selected subset of enrollments of each request is considered (
CourseRequest.computeRandomEnrollments(Assignment, 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, BacktrackNeighbourSelection.BacktrackNeighbourSelectionContextsLogger| Constructor and Description |
|---|
RandomizedBacktrackNeighbourSelection(DataProperties properties)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<Enrollment> |
values(BacktrackNeighbourSelection.BacktrackNeighbourSelectionContext context,
Request variable)
List of values of a variable.
|
backtrack, canContinue, canContinueEvaluation, checkBound, getDepth, getMaxIters, getTimeout, init, selectNeighbour, selectNeighbour, selectNeighbour, setDepth, setMaxIters, setTimeoutgetValueSelection, getVariableSelection, selectValue, selectVariable, setValueSelection, setVariableSelectionpublic RandomizedBacktrackNeighbourSelection(DataProperties properties) throws Exception
properties - configurationException - thrown when the initialization failsprotected Iterator<Enrollment> values(BacktrackNeighbourSelection.BacktrackNeighbourSelectionContext context, Request variable)
CourseRequest.computeRandomEnrollments(Assignment, int) with the provided
limit is used for a CourseRequest.values in class BacktrackNeighbourSelection<Request,Enrollment>context - assignment contextvariable - given variableCopyright © 2017 UniTime LLC. All Rights Reserved.