[[["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 `AllDifferentConstraint` class in C++ enforces the constraint that all variables in a given set must have different values."],["This constraint is implemented using the `AllDifferentAC()` algorithm and utilizes an IntegerEncoder, Trail, and IntegerTrail for internal operations."],["The class provides methods for propagation (`Propagate`) and registration with a watcher (`RegisterWith`) for efficient constraint enforcement within a solver."]]],["The `AllDifferentConstraint` class in C++ implements the `AllDifferentAC()` algorithm. It takes a vector of `IntegerVariable` objects, an `IntegerEncoder`, a `Trail`, and an `IntegerTrail` during construction. The class offers two primary methods: `Propagate`, which returns a boolean, and `RegisterWith`, which is a void function that takes a `GenericLiteralWatcher`. The `Propagate` method is for constraint propagation. `RegisterWith` method registers the constraint with a watcher.\n"]]