OnlyConstraint
- class glotaran.model.clp_constraint.OnlyConstraint(*, interval: tuple[float, float] | list[tuple[float, float]] | None = None, target: str, type: str = 'only')[source]
Bases:
ZeroConstraint
Constraints the target to 0 outside the given interval.
Method generated by attrs for class OnlyConstraint.
Attributes Summary
Methods Summary
Check if the constraint applies on this index.
Get the type string.
Get the type for a type string.
Get all type strings.
Check if intervals are defined.
Methods Documentation