Searched refs:q_inv (Results 1 – 1 of 1) sorted by relevance
/third_party/boost/boost/graph/detail/ |
D | permutation.hpp | 126 inline void serialize_permutation(Iter1 q, Iter1 q_end, Iter2 q_inv, Iter3 p) in serialize_permutation() argument 141 P2 qii = q_inv[i]; in serialize_permutation() 144 std::swap(q_inv[i], q_inv[qi]); in serialize_permutation() 199 std::vector< P, Alloc > q(n), q_inv(n); in sortv() local 201 q_inv[i] = i; in sortv() 202 std::sort(make_shadow_iter(first, q_inv.begin()), in sortv() 203 make_shadow_iter(last, q_inv.end()), shadow_cmp< Cmp >(cmp)); in sortv() 204 std::copy(q_inv, q_inv.end(), q.begin()); in sortv() 206 serialize_permutation(q.begin(), q.end(), q_inv.end(), p); in sortv()
|