28 template<
class iterator>
32 template<
class iterator>
42 template<
class iterator>
49template<
class iterator>
72template<
class iterator>
75 typedef typename std::remove_reference<
decltype(*start)>::type value_type;
77 std::vector<value_type>
orig;
86 std::cerr <<
"Perm::apply: orig.size()=" <<
orig.size() <<
", "
87 <<
"perm.size()=" <<
perm.size() << std::endl;
91 for(
unsigned int i=0;
i<
orig.size(); ++
i) {
98template<
class iterator>
websocketpp::client< websocketpp::config::asio_client > client
Definition ComputeThread.cc:15
Definition Permutations.hh:37
std::vector< int > images
Definition Permutations.hh:39
void find(iterator start1, iterator end1, iterator start2, iterator end2)
Find the permutation that takes [start1, end1> to [start2, end2>.
Definition Permutations.hh:99
Definition Permutations.hh:22
std::vector< int > perm
Definition Permutations.hh:24
void find(iterator start1, iterator end1, iterator start2, iterator end2)
Find the permutation that takes [start1, end1> to [start2, end2>.
Definition Permutations.hh:50
void apply(iterator start1, iterator end1)
Apply the permutation 'perm' on the given range.
Definition Permutations.hh:73
Generic permutation group material.
Definition Permutations.hh:17
PermutationException(const std::string &ex)
Definition Permutations.hh:19