Data Structures | |
| struct | Iterator |
Public Types | |
Types | |
| using | key_type = Key |
| using | value_type = Value |
| using | iterator = Iterator |
| using | const_iterator = Iterator |
Public Member Functions | |
Constructors | |
| StrongIndexPermutation ()=default | |
| StrongIndexPermutation (Permutation p) | |
| StrongIndexPermutation (Permutation::Sigma p) | |
| template<typename T , std::enable_if_t< std::is_convertible< T, unsigned >::value, int > * = nullptr> | |
| StrongIndexPermutation (std::initializer_list< T > vs) | |
Information | |
| Value | at (const Key i) const |
| Value | operator() (const Key i) const |
| Key | indexOf (const Value v) const |
| unsigned | size () const |
|
StrongIndexPermutation< Value, Key > | inverse () const |
| template<typename OtherValue > | |
| StrongIndexPermutation< Key, OtherValue > | compose (const StrongIndexPermutation< Value, OtherValue > &other) const |
| StrongIndexPermutation | compose (const StrongIndexPermutation< Value, Value > &other) const |
| auto | tie () const |
Modification | |
| void | clear () |
Iterators | |
| Iterator | begin () const |
| Iterator | end () const |
Public Member Functions inherited from Scine::Molassembler::Temple::Crtp::LexicographicComparable< StrongIndexPermutation< Key, Value > > | |
| constexpr bool | operator== (const LexicographicComparable &other) const |
| constexpr bool | operator!= (const LexicographicComparable &other) const |
| constexpr bool | operator< (const LexicographicComparable &other) const |
| constexpr bool | operator<= (const LexicographicComparable &other) const |
| constexpr bool | operator> (const LexicographicComparable &other) const |
| constexpr bool | operator>= (const LexicographicComparable &other) const |
Static Public Member Functions | |
Factories | |
| template<typename Container > | |
| static std::enable_if_t <!std::is_same< Container, Permutation::Sigma >::value, StrongIndexPermutation > | from (const Container &p) |
Static Public Member Functions inherited from Scine::Molassembler::Temple::Crtp::LexicographicComparable< StrongIndexPermutation< Key, Value > > | |
|
static constexpr const StrongIndexPermutation< Key, Value > & | derived (const LexicographicComparable &base) |
Data Fields | |
| Permutation | permutation |