![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 47 of file permutation.h.
#include <permutation.h>
Public Member Functions | |
| Permutation () | |
| Permutation (IndexType size) | |
| Permutation (const Permutation &)=delete | |
| Permutation & | operator= (const Permutation &)=delete |
| IndexType | size () const |
| bool | empty () const |
| void | clear () |
| void | resize (IndexType size, IndexType value) |
| void | assign (IndexType size, IndexType value) |
| IndexType & | operator[] (IndexType i) |
| IndexType | operator[] (IndexType i) const |
| void | PopulateFromInverse (const Permutation &inverse) |
| void | PopulateFromIdentity () |
| void | PopulateRandomly () |
| bool | Check () const |
| int | ComputeSignature () const |
| const IndexType * | data () const |
| StrictITISpan< IndexType, const IndexType > | const_view () const |
|
inline |
Definition at line 49 of file permutation.h.
|
inlineexplicit |
Definition at line 51 of file permutation.h.
|
delete |
|
inline |
Definition at line 66 of file permutation.h.
| bool operations_research::glop::Permutation< IndexType >::Check | ( | ) | const |
Definition at line 177 of file permutation.h.
|
inline |
Definition at line 60 of file permutation.h.
| int operations_research::glop::Permutation< IndexType >::ComputeSignature | ( | ) | const |
Definition at line 195 of file permutation.h.
|
inline |
Definition at line 97 of file permutation.h.
|
inline |
Definition at line 95 of file permutation.h.
|
inline |
Definition at line 58 of file permutation.h.
|
delete |
|
inline |
Definition at line 68 of file permutation.h.
|
inline |
Definition at line 70 of file permutation.h.
| void operations_research::glop::Permutation< IndexType >::PopulateFromIdentity | ( | ) |
Definition at line 162 of file permutation.h.
| void operations_research::glop::Permutation< IndexType >::PopulateFromInverse | ( | const Permutation< IndexType > & | inverse | ) |
Definition at line 153 of file permutation.h.
| void operations_research::glop::Permutation< IndexType >::PopulateRandomly | ( | ) |
Definition at line 171 of file permutation.h.
|
inline |
Definition at line 62 of file permutation.h.
|
inline |
Definition at line 57 of file permutation.h.