protected class RoomSplitPenalty.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[] |
getRoomSplits() |
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[] getRoomSplits()