CMR
1.3.0
|
#include <matroid_transposed.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_transposed< name_type > | self_type |
typedef permutation | permutation_type |
Public Member Functions | |
matroid_transposed (MatroidType &matroid) | |
size_type | size1 () const |
size_type | size2 () const |
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 which exchanges the meaning of bases and cobases.
typedef const name_type& tu::matroid_transposed< MatroidType >::const_reference_type |
typedef MatroidType tu::matroid_transposed< MatroidType >::matroid_type |
typedef MatroidType::name_type tu::matroid_transposed< MatroidType >::name_type |
typedef permutation tu::matroid_transposed< MatroidType >::permutation_type |
typedef boost::mpl::if_<boost::is_const <MatroidType>, typename MatroidType::const_reference_type, typename MatroidType::reference_type>::type tu::matroid_transposed< MatroidType >::reference_type |
typedef matroid_transposed<name_type> tu::matroid_transposed< MatroidType >::self_type |
typedef MatroidType::size_type tu::matroid_transposed< MatroidType >::size_type |
|
inline |
Constructs the matroid proxy.
matroid | The 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 |