CMR
1.3.0
|
#include <matroid_permuted.hpp>
Public Types | |
typedef MatroidType | matroid_type |
typedef MatroidType::size_type | size_type |
typedef MatroidType::name_type | name_type |
typedef boost::mpl::if_< boost::is_const< MatroidType >, typename MatroidType::const_reference_type, typename MatroidType::reference_type >::type | reference_type |
typedef const name_type & | const_reference_type |
typedef matroid_permuted< name_type > | self_type |
typedef permutation | permutation_type |
Public Member Functions | |
matroid_permuted (MatroidType &matroid) | |
size_type | size1 () const |
size_type | size2 () const |
const permutation_type & | perm1 () const |
permutation_type & | perm1 () |
const permutation_type & | perm2 () const |
permutation_type & | perm2 () |
reference_type | name1 (size_type index) |
const_reference_type | name1 (size_type index) const |
reference_type | name2 (size_type index) |
const_reference_type | name2 (size_type index) const |
matroid_type & | data () |
A matroid proxy with permuted rows and columns.
typedef const name_type& tu::matroid_permuted< MatroidType >::const_reference_type |
typedef MatroidType tu::matroid_permuted< MatroidType >::matroid_type |
typedef MatroidType::name_type tu::matroid_permuted< MatroidType >::name_type |
typedef permutation tu::matroid_permuted< MatroidType >::permutation_type |
typedef boost::mpl::if_<boost::is_const <MatroidType>, typename MatroidType::const_reference_type, typename MatroidType::reference_type>::type tu::matroid_permuted< MatroidType >::reference_type |
typedef matroid_permuted<name_type> tu::matroid_permuted< MatroidType >::self_type |
typedef MatroidType::size_type tu::matroid_permuted< MatroidType >::size_type |
|
inline |
Constructs the matroid proxy.
matroid | Original matroid |
|
inline |
|
inline |
index | A row index |
|
inline |
index | A row index |
|
inline |
index | A column index |
|
inline |
index | A column index |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |