Relates multiple constraints together into a constraint suite. More...
Inheritance diagram for ConstraintSuite:Public Member Functions | |
| def | __init__ |
| def | all_types |
| Returns an iterable of all available constraint types. More... | |
| def | all_labels |
| Returns an iterable of all available constraint labels. More... | |
| def | get_constraint |
| Returns the constraint associated with a given label. More... | |
| def | group_constraints |
| Groups constraints into subgroups based on their constraint types. More... | |
Public Attributes | |
| constraints | |
Relates multiple constraints together into a constraint suite.
| def __init__ | ( | self, | |
| constraints | |||
| ) |
| def all_labels | ( | self | ) |
Returns an iterable of all available constraint labels.
| def all_types | ( | self | ) |
Returns an iterable of all available constraint types.
| def get_constraint | ( | self, | |
| label | |||
| ) |
Returns the constraint associated with a given label.
| label | The string type representing the constraint. |
| def group_constraints | ( | self, | |
| constraints | |||
| ) |
Groups constraints into subgroups based on their constraint types.
| constraints | A list of Constraint instances. |
constraints. | constraints |