Expand description
Constraint propagator/solver for custom PhysicalExpr graphs.
Structs§
- Expr
Interval Graph - This object implements a directed acyclic expression graph (DAEG) that is used to compute ranges for expressions through interval arithmetic.
- Expr
Interval Graph Node - This is a node in the DAEG; it encapsulates a reference to the actual
PhysicalExpr
as well as an interval containing expression bounds.
Enums§
- Propagation
Result - This object encapsulates all possible constraint propagation results.
Functions§
- propagate_
arithmetic - This function refines intervals
left_child
andright_child
by applying constraint propagation throughparent
via operation. The main idea is that we can shrink ranges of variables x and y using parent interval p. - propagate_
comparison - This function refines intervals
left_child
andright_child
by applying comparison propagation throughparent
via operation. The main idea is that we can shrink ranges of variables x and y using parent interval p. Two intervals can be ordered in 6 ways for a Gt>
operator: