![]() |
OR-Tools
8.2
|
Definition at line 44 of file lp_data/permutation.h.
Public Member Functions | |
Permutation () | |
Permutation (IndexType size) | |
IndexType | size () const |
bool | empty () const |
void | clear () |
void | resize (IndexType size, IndexType value) |
void | assign (IndexType size, IndexType value) |
IndexType & | operator[] (IndexType i) |
const IndexType | operator[] (IndexType i) const |
void | PopulateFromInverse (const Permutation &inverse) |
void | PopulateFromIdentity () |
void | PopulateRandomly () |
bool | Check () const |
int | ComputeSignature () const |
|
inline |
Definition at line 46 of file lp_data/permutation.h.
|
inlineexplicit |
Definition at line 48 of file lp_data/permutation.h.
|
inline |
Definition at line 59 of file lp_data/permutation.h.
bool Check |
Definition at line 151 of file lp_data/permutation.h.
|
inline |
Definition at line 53 of file lp_data/permutation.h.
int ComputeSignature |
Definition at line 169 of file lp_data/permutation.h.
|
inline |
Definition at line 51 of file lp_data/permutation.h.
|
inline |
Definition at line 63 of file lp_data/permutation.h.
|
inline |
Definition at line 65 of file lp_data/permutation.h.
void PopulateFromIdentity |
Definition at line 136 of file lp_data/permutation.h.
void PopulateFromInverse | ( | const Permutation< IndexType > & | inverse | ) |
Definition at line 127 of file lp_data/permutation.h.
void PopulateRandomly |
Definition at line 145 of file lp_data/permutation.h.
|
inline |
Definition at line 55 of file lp_data/permutation.h.
|
inline |
Definition at line 50 of file lp_data/permutation.h.