baybe.constraints.validation.validate_cardinality_constraint_parameter_bounds

baybe.constraints.validation.validate_cardinality_constraint_parameter_bounds(constraint: ContinuousCardinalityConstraint, parameters: Collection[NumericalContinuousParameter])[source]

Validate that all parameters of a continuous cardinality constraint include zero.

Parameters:
Raises:
  • ValueError – If one of the affected parameters does not include zero.

  • ExceptionGroup – If several of the affected parameters do not include zero.

Return type:

None