protected class RoomSplitDistancePenalty.RoomSplitContext extends AbstractCriterion.ValueContext
iTotal
Constructor and Description |
---|
RoomSplitContext(Assignment<Exam,ExamPlacement> assignment) |
Modifier and Type | Method and Description |
---|---|
void |
assigned(Assignment<Exam,ExamPlacement> assignment,
ExamPlacement value)
Update value when assigned
|
int |
nrRoomSplits() |
void |
unassigned(Assignment<Exam,ExamPlacement> assignment,
ExamPlacement value)
Update value when unassigned
|
public RoomSplitContext(Assignment<Exam,ExamPlacement> assignment)
public void assigned(Assignment<Exam,ExamPlacement> assignment, ExamPlacement value)
AbstractCriterion.ValueContext
assigned
in class AbstractCriterion.ValueContext
assignment
- current assignmentvalue
- recently assigned valuepublic void unassigned(Assignment<Exam,ExamPlacement> assignment, ExamPlacement value)
AbstractCriterion.ValueContext
unassigned
in class AbstractCriterion.ValueContext
assignment
- current assignmentvalue
- recently unassigned valuepublic int nrRoomSplits()