baybe.constraints.validation.validate_cardinality_constraints_are_nonoverlapping¶
- baybe.constraints.validation.validate_cardinality_constraints_are_nonoverlapping(constraints: Collection[ContinuousCardinalityConstraint])[source]¶
Validate that cardinality constraints are non-overlapping.
- Parameters:
constraints (
Collection
[ContinuousCardinalityConstraint
]) – A collection of continuous cardinality constraints.- Raises:
ValueError – If any two continuous cardinality constraints have an overlapping parameter set.
- Return type: