[[["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\u003eThe \u003ccode\u003eAllDifferentConstraint\u003c/code\u003e class in C++ enforces the constraint that all variables in a given set must have different values.\u003c/p\u003e\n"],["\u003cp\u003eThis constraint is implemented using the \u003ccode\u003eAllDifferentAC()\u003c/code\u003e algorithm and utilizes an IntegerEncoder, Trail, and IntegerTrail for internal operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods for propagation (\u003ccode\u003ePropagate\u003c/code\u003e) and registration with a watcher (\u003ccode\u003eRegisterWith\u003c/code\u003e) for efficient constraint enforcement within a solver.\u003c/p\u003e\n"]]],["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"],null,[]]