public class ExamDistributionConstraint.Context extends Object implements AssignmentConstraintContext<Exam,ExamPlacement>
| Constructor and Description |
|---|
ExamDistributionConstraint.Context(Assignment<Exam,ExamPlacement> assignment) |
| Modifier and Type | Method and Description |
|---|---|
void |
assigned(Assignment<Exam,ExamPlacement> assignment,
ExamPlacement placement)
Called when
ConstraintWithContext.assigned(Assignment, long, Value) is called to update
the content of the context. |
void |
unassigned(Assignment<Exam,ExamPlacement> assignment,
ExamPlacement placement)
Called when
ConstraintWithContext.unassigned(Assignment, long, Value) is called to update
the content of the context. |
public ExamDistributionConstraint.Context(Assignment<Exam,ExamPlacement> assignment)
public void assigned(Assignment<Exam,ExamPlacement> assignment, ExamPlacement placement)
AssignmentConstraintContextConstraintWithContext.assigned(Assignment, long, Value) is called to update
the content of the context.assigned in interface AssignmentConstraintContext<Exam,ExamPlacement>assignment - current assignment (with which this context is associated)placement - assigned valuepublic void unassigned(Assignment<Exam,ExamPlacement> assignment, ExamPlacement placement)
AssignmentConstraintContextConstraintWithContext.unassigned(Assignment, long, Value) is called to update
the content of the context.unassigned in interface AssignmentConstraintContext<Exam,ExamPlacement>assignment - current assignment (with which this context is associated)placement - unassigned valueCopyright © 2017 UniTime LLC. All Rights Reserved.