concepts.dm.crow.function_utils#

Functions

expand_argument_values(argument_values)

Expand a list of argument values to the same batch size.

flatten_expression(expr[, mappings, ctx, ...])

Flatten an expression by replacing certain variables or function applications with sub-expressions.

get_simple_bool_predicate(expr)

If the expression is a simple bool (see is_simple_bool()), it returns the underlying predicate.

get_used_state_variables(expr)

Return the set of state variables used in the given expression.

is_simple_bool(expr)

Check if the expression is a simple Boolean expression.

split_simple_bool(expr[, initial_negated])

If the expression is a simple Boolean expression (see is_simple_bool()), it returns the feature definition and a boolean indicating whether the expression is negated.