Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: symmetry_util
Note: This documentation is automatically generated.
Function |
Type |
Arguments |
Comments |
GetOrbitopeOrbits | Return type: std::vector<int> Arguments: int n, const std::vector<std::vector<int>>& orbitope |
GetOrbits | Return type: std::vector<int> Arguments: int n, const std::vector<std::unique_ptr<SparsePermutation>>& generators |
TransformToGeneratorOfStabilizer | Return type: inline void Arguments: int to_stabilize, std::vector<std::unique_ptr<SparsePermutation>>* generators |
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."],[[["\u003cp\u003eThe \u003ccode\u003esymmetry_util\u003c/code\u003e library in C++ provides functionalities for handling symmetries in optimization problems.\u003c/p\u003e\n"],["\u003cp\u003eIt offers functions like \u003ccode\u003eGetOrbitopeOrbits\u003c/code\u003e, \u003ccode\u003eGetOrbits\u003c/code\u003e, and \u003ccode\u003eTransformToGeneratorOfStabilizer\u003c/code\u003e to manage and manipulate symmetry groups and orbits.\u003c/p\u003e\n"],["\u003cp\u003eThese functions utilize data structures like \u003ccode\u003eSparsePermutation\u003c/code\u003e and operate on mathematical concepts such as orbitopes and generators.\u003c/p\u003e\n"]]],["The `symmetry_util` C++ library provides functions for working with symmetry in combinatorial optimization problems. `GetOrbits` computes orbits of elements given a set of sparse permutation generators. `GetOrbitopeOrbits` calculates orbits specifically related to an orbitope. `TransformToGeneratorOfStabilizer` modifies a set of generators to stabilize a specific element. These functions operate on integers and collections of `SparsePermutation` objects.\n"],null,["# symmetry_util\n\nC++ Reference: symmetry_util\n============================\n\n\nNote: This documentation is automatically generated.\n\n| Function | Type | Arguments | Comments |\n|--------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|-----------|----------|\n| [`GetOrbitopeOrbits`](https://github.com/google/or-tools/blob/v9.4/ortools/sat/symmetry_util.h#L61) | Return type: `std::vector\u003cint\u003e ` Arguments: ` int n, const std::vector\u003cstd::vector\u003cint\u003e\u003e& orbitope` \u003cbr /\u003e |\n| [`GetOrbits`](https://github.com/google/or-tools/blob/v9.4/ortools/sat/symmetry_util.h#L55) | Return type: `std::vector\u003cint\u003e ` Arguments: ` int n, const std::vector\u003cstd::unique_ptr\u003cSparsePermutation\u003e\u003e& generators` \u003cbr /\u003e |\n| [`TransformToGeneratorOfStabilizer`](https://github.com/google/or-tools/blob/v9.4/ortools/sat/symmetry_util.h#L78) | Return type: `inline void ` Arguments: ` int to_stabilize, std::vector\u003cstd::unique_ptr\u003cSparsePermutation\u003e\u003e* generators` \u003cbr /\u003e |"]]