Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class DisjunctivePrecedences
Note: This documentation is automatically generated.
Exploits the precedences relations of the form "this set of disjoint
IntervalVariables must be performed before a given IntegerVariable". The
relations are computed with PrecedencesPropagator::ComputePrecedences().
Method |
DisjunctivePrecedences | Arguments: bool time_direction,
SchedulingConstraintHelper* helper,
IntegerTrail* integer_trail,
PrecedencesPropagator* precedences |
Propagate | Return type: bool |
RegisterWith | Return type: int 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 `DisjunctivePrecedences` class in C++ manages precedence relations where a set of disjoint `IntervalVariables` must occur before a given `IntegerVariable`. It utilizes `PrecedencesPropagator::ComputePrecedences()` to establish these relations. Key actions include using the `Propagate` method to enforce these relations. `RegisterWith` allows integration with a `GenericLiteralWatcher`. The constructor `DisjunctivePrecedences` sets up the object given a `time_direction`, `SchedulingConstraintHelper`, `IntegerTrail` and `PrecedencesPropagator` arguments.\n"]]