Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class FixedModuloPropagator
Note: This documentation is automatically generated.
Propagates target == expr % mod. Basic version, we don't extract any special
cases, and we only propagates the bounds. mod must be > 0.
Method |
FixedModuloPropagator | Arguments: AffineExpression expr, IntegerValue mod,
AffineExpression target, 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."],[],["The `FixedModuloPropagator` class in C++ handles the propagation of the constraint `target == expr % mod`, where `mod` is a positive integer. It propagates only the bounds, without special case extraction. Key actions include: the constructor `FixedModuloPropagator` that takes the expression, modulus, target, and an `IntegerTrail` as arguments. The class provides `Propagate`, which returns a boolean, and `RegisterWith`, which registers with a `GenericLiteralWatcher`.\n"],null,[]]