Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class SymmetryBreaker
Note: This documentation is automatically generated.
A symmetry breaker is an object that will visit a decision and
create the 'symmetrical' decision in return.
Each symmetry breaker represents one class of symmetry.
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."],[],["A `SymmetryBreaker` object identifies and creates symmetrical decisions. Each `SymmetryBreaker` represents a class of symmetry. Key methods include: `AddIntegerVariableEqualValueClause`, `AddIntegerVariableGreaterOrEqualValueClause`, and `AddIntegerVariableLessOrEqualValueClause`, all of which take an `IntVar` and an `int64_t` value to manage constraints. There is also a constructor `SymmetryBreaker` and a destructor `~SymmetryBreaker`. These methods manage decisions related to integer variables.\n"],null,[]]