public static interface GroupConstraint.AssignmentPairCheck
GroupConstraint.PairCheck, this check is also given current assignment.| Modifier and Type | Method and Description |
|---|---|
boolean |
isSatisfied(Assignment<Lecture,Placement> assignment,
GroupConstraint gc,
Placement plc1,
Placement plc2)
Check whether the constraint is satisfied for the given two assignments (required / preferred case)
|
boolean |
isViolated(Assignment<Lecture,Placement> assignment,
GroupConstraint gc,
Placement plc1,
Placement plc2)
Check whether the constraint is satisfied for the given two assignments (prohibited / discouraged case)
|
boolean isSatisfied(Assignment<Lecture,Placement> assignment, GroupConstraint gc, Placement plc1, Placement plc2)
assignment - current assignmentgc - Calling group constraintplc1 - First placementplc2 - Second placementboolean isViolated(Assignment<Lecture,Placement> assignment, GroupConstraint gc, Placement plc1, Placement plc2)
assignment - current assignmentgc - Calling group constraintplc1 - First placementplc2 - Second placement