Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class FixedDivisionPropagator
Note: This documentation is automatically generated.
Propagates var_a / cst_b = var_c. Basic version, we don't extract any special
cases, and we only propagates the bounds. cst_b must be > 0.
Method |
FixedDivisionPropagator | Arguments: AffineExpression a, IntegerValue b,
AffineExpression c, IntegerTrail* integer_trail |
Propagate | Return type: bool |
RegisterWith | Return type: void Arguments: GenericLiteralWatcher* watcher |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[],["`FixedDivisionPropagator` propagates the constraint `var_a / cst_b = var_c` where `cst_b` is a constant greater than 0. It operates by propagating bounds and is initialized with affine expressions `a`, `c`, and a constant `b`, along with an `IntegerTrail`. Key actions include using the `Propagate` method to enforce constraints, which returns a boolean, and `RegisterWith` to add to a watcher.\n"],null,[]]