Skip to main content

Module arithmetic

Module arithmetic 

Source
Expand description

Contains a number of propagators for a variety of arithmetic constraints.

Structsยง

AbsoluteValueArgs
AbsoluteValueChecker
AbsoluteValuePropagator
Propagator for absolute = |signed|, where absolute and signed are integer variables.
BinaryEqualsChecker
BinaryEqualsPropagator
Propagator for the constraint a = b.
BinaryEqualsPropagatorArgs
The PropagatorConstructor for the BinaryEqualsPropagator.
BinaryNotEqualsChecker
BinaryNotEqualsPropagator
Propagator for the constraint a != b.
BinaryNotEqualsPropagatorArgs
The PropagatorConstructor for the BinaryNotEqualsPropagator.
DivisionArgs
The PropagatorConstructor for the DivisionPropagator.
DivisionPropagator
A propagator for maintaining the constraint numerator / denominator = rhs; note that this propagator performs truncating division (i.e. rounding towards 0).
IntegerDivisionChecker
IntegerMultiplicationArgs
The PropagatorConstructor for IntegerMultiplicationPropagator.
IntegerMultiplicationChecker
IntegerMultiplicationPropagator
A propagator for maintaining the constraint a * b = c. The propagator (currently) only propagates the signs of the variables, the case where a, b, c >= 0, and detects a conflict if the variables are fixed.
LinearLessOrEqualInferenceChecker
LinearLessOrEqualPropagator
Propagator for the constraint \sum x_i <= c.
LinearLessOrEqualPropagatorArgs
The PropagatorConstructor for the LinearLessOrEqualPropagator.
LinearNotEqualChecker
LinearNotEqualPropagator
Propagator for the constraint \sum x_i != rhs, where x_i are integer variables and rhs is an integer constant.
LinearNotEqualPropagatorArgs
The PropagatorConstructor for the LinearNotEqualPropagator.
MaximumArgs
MaximumChecker
MaximumPropagator
Bounds-consistent propagator which enforces max(array) = rhs. Can be constructed through MaximumArgs.