public static interface GroupConstraint.ConstraintTypeInterface extends GroupConstraint.AssignmentPairCheck
Modifier and Type | Method and Description |
---|---|
int |
getMax()
Maximum (gap, hours a day) parameter
|
int |
getMin()
Minimum (gap) parameter
|
String |
getName()
Constraint name
|
boolean |
is(GroupConstraint.Flag f)
Flag check (true if contains given flag)
|
String |
reference()
Constraint reference
|
GroupConstraint.ConstraintType |
type()
Constraint type
|
isSatisfied, isViolated
GroupConstraint.ConstraintType type()
int getMin()
int getMax()
boolean is(GroupConstraint.Flag f)
f
- a flag to check