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 in constraint programming helps avoid exploring redundant, symmetrical solutions by identifying and excluding them."],["It achieves this by visiting a decision and generating its symmetrical counterpart, essentially representing a class of symmetry."],["The `SymmetryBreaker` class offers methods like `AddIntegerVariableEqualValueClause`, `AddIntegerVariableGreaterOrEqualValueClause`, and `AddIntegerVariableLessOrEqualValueClause` to define constraints related to integer variables and their values, which contribute to breaking symmetries."]]],[]]