![]() |
OR-Tools
8.2
|
Definition at line 27 of file sparse_permutation.h.
Classes | |
| struct | Iterator |
Public Member Functions | |
| SparsePermutation (int size) | |
| int | Size () const |
| int | NumCycles () const |
| const std::vector< int > & | Support () const |
| Iterator | Cycle (int i) const |
| int | LastElementInCycle (int i) const |
| void | AddToCurrentCycle (int x) |
| void | CloseCurrentCycle () |
| void | RemoveCycles (const std::vector< int > &cycle_indices) |
| std::string | DebugString () const |
|
inlineexplicit |
Definition at line 29 of file sparse_permutation.h.
|
inline |
Definition at line 84 of file sparse_permutation.h.
|
inline |
Definition at line 90 of file sparse_permutation.h.
|
inline |
Definition at line 117 of file sparse_permutation.h.
| std::string DebugString | ( | ) | const |
Definition at line 52 of file sparse_permutation.cc.
|
inline |
Definition at line 124 of file sparse_permutation.h.
|
inline |
Definition at line 33 of file sparse_permutation.h.
| void RemoveCycles | ( | const std::vector< int > & | cycle_indices | ) |
Definition at line 23 of file sparse_permutation.cc.
|
inline |
Definition at line 32 of file sparse_permutation.h.
|
inline |
Definition at line 37 of file sparse_permutation.h.