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().
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eDisjunctivePrecedences\u003c/code\u003e leverages precedence relationships to enforce the order of disjoint \u003ccode\u003eIntervalVariables\u003c/code\u003e before a specific \u003ccode\u003eIntegerVariable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThese precedence relationships are determined using the \u003ccode\u003ePrecedencesPropagator::ComputePrecedences()\u003c/code\u003e function.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers methods like \u003ccode\u003ePropagate\u003c/code\u003e and \u003ccode\u003eRegisterWith\u003c/code\u003e to manage and apply these constraints within the scheduling context.\u003c/p\u003e\n"]]],["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"],null,[]]