Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class AllDifferentBoundsPropagator
Note: This documentation is automatically generated.
Implements the all different bound consistent propagator with explanation.
That is, given n affine expressions that must take different values, this
propagates the bounds of each expression as much as possible. The key is to
detect the so called Hall interval which are interval of size k that contains
the domain of k expressinos. Because all the variables must take different
values, we can deduce that the domain of the other variables cannot contains
such Hall interval.
[[["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."],[[["The `AllDifferentBoundsPropagator` enforces the constraint that a set of affine expressions must take distinct values by propagating bounds efficiently."],["It leverages Hall intervals, intervals containing the domain of k expressions of size k, to deduce bounds on other variables."],["The propagator uses a \"fast\" O(n log n) algorithm for bound propagation."],["It's implemented with methods for initialization, propagation, and registration with a watcher."]]],["The `AllDifferentBoundsPropagator` class in C++ enforces that a set of affine expressions take distinct values. It achieves this by identifying \"Hall intervals,\" where *k* expressions' domains are within an interval of size *k*. If found, it deduces that other expressions cannot reside in these intervals. The algorithm used has O(n log n) time complexity. Key methods include the constructor, `Propagate` (for bound propagation), and `RegisterWith` (for integrating with a watcher).\n"]]