concepts.pdsketch.crow.regression_utils.evaluate_bool_scalar_expression#
- evaluate_bool_scalar_expression(executor, expr, state, bounded_variables, csp, csp_note='')[source]#
- Parameters:
executor (PDSketchExecutor) –
expr (ValueOutputExpression | Sequence[ValueOutputExpression]) –
state (State) –
bounded_variables (None | Sequence[Variable] | Dict[str | Variable, str | int | slice | bool | float | Tensor | TensorValue | ObjectConstant | StateObjectReference] | Dict[str, Dict[str, StateObjectReference | slice | TensorValue]]) –
csp (ConstraintSatisfactionProblem) –
csp_note (str) –
- Return type:
Tuple[bool, bool, ConstraintSatisfactionProblem | None]