12 template <
typename Matro
idType>
19 typedef typename boost::mpl::if_ <boost::is_const <MatroidType>,
typename MatroidType::const_reference_type,
typename MatroidType::reference_type>::type
98 return _matroid.name1(_perm1(index));
108 return _matroid.name1(_perm1(index));
118 return _matroid.name2(_perm2(index));
128 return _matroid.name2(_perm2(index));
141 MatroidType& _matroid;
155 template <
typename Matro
idType>
158 matroid.perm1().swap(index1, index2);
169 template <
typename Matro
idType>
172 matroid.perm2().swap(index1, index2);
183 template <
typename Matro
idType>
189 template <
typename Matro
idType>
195 template <
typename Matro
idType>
201 template <
typename Matro
idType>
207 template <
typename Matro
idType>
Definition: matroid_permuted.hpp:14
permutation permutation_type
Definition: matroid_permuted.hpp:23
size_type size1() const
Definition: matroid_permuted.hpp:41
const permutation_type & perm2() const
Definition: matroid_permuted.hpp:77
const_reference_type name2(size_type index) const
Definition: matroid_permuted.hpp:126
MatroidType::size_type size_type
Definition: matroid_permuted.hpp:17
const name_type & const_reference_type
Definition: matroid_permuted.hpp:21
const permutation_type & perm1() const
Definition: matroid_permuted.hpp:59
permutation_type & perm1()
Definition: matroid_permuted.hpp:68
reference_type name1(size_type index)
Definition: matroid_permuted.hpp:96
size_type size2() const
Definition: matroid_permuted.hpp:50
matroid_permuted< name_type > self_type
Definition: matroid_permuted.hpp:22
const_reference_type name1(size_type index) const
Definition: matroid_permuted.hpp:106
boost::mpl::if_< boost::is_const< MatroidType >, typename MatroidType::const_reference_type, typename MatroidType::reference_type >::type reference_type
Definition: matroid_permuted.hpp:20
MatroidType matroid_type
Definition: matroid_permuted.hpp:16
matroid_type & data()
Definition: matroid_permuted.hpp:135
MatroidType::name_type name_type
Definition: matroid_permuted.hpp:18
reference_type name2(size_type index)
Definition: matroid_permuted.hpp:116
permutation_type & perm2()
Definition: matroid_permuted.hpp:86
matroid_permuted(MatroidType &matroid)
Definition: matroid_permuted.hpp:31
Definition: matroid_transposed.hpp:14
Definition: matroid.hpp:22
Definition: permutations.hpp:44
size_type size() const
Definition: permutations.hpp:150
Definition: algorithm.hpp:14
void matroid_permute1(matroid< NameType > &matroid, size_t index1, size_t index2)
Definition: matroid.hpp:162
void matroid_permute2(matroid< NameType > &matroid, size_t index1, size_t index2)
Definition: matroid.hpp:192
void matroid_set_perm1(matroid_permuted< MatroidType > &matroid, const permutation &permutation)
Definition: matroid_permuted.hpp:190
void matroid_binary_pivot(matroid< NameType > &matroid, size_t i, size_t j)
Definition: matroid.hpp:222
void matroid_set_perm2(matroid_permuted< MatroidType > &matroid, const permutation &permutation)
Definition: matroid_permuted.hpp:196