ClpConstraint
- class glotaran.model.clp_constraint.ClpConstraint(*, interval: tuple[float, float] | list[tuple[float, float]] | None = None, type: str, target: str)[source]
Bases:
TypedItem
,IntervalItem
Baseclass for clp constraints.
There are two types: zero and equal. See the documentation of the respective classes for details.
Method generated by attrs for class ClpConstraint.
Attributes Summary
Methods Summary
Check if the index is in the intervals.
Get the type string.
Get the type for a type string.
Get all type strings.
Check if intervals are defined.
Methods Documentation