33 #ifndef CYCLIC_GROUP_CONSTRUCTION_H_
34 #define CYCLIC_GROUP_CONSTRUCTION_H_
36 #include <permlib/construct/known_bsgs_construction.h>
41 template <
class TRANS>
58 template <
class TRANS>
64 template <
class TRANS>
68 typedef typename TRANS::PERMtype PERM;
69 const unsigned int &n = this->m_n;
70 typename PERM::perm genPerm(n);
71 for (
unsigned int i = 0; i < n; ++i)
72 genPerm[i] = (i + 1) % n;
73 std::list<typename PERM::ptr> cyclicGenerators;
74 cyclicGenerators.push_back(
typename PERM::ptr(
new PERM(genPerm)));
75 const dom_int knownBase[1] = { 0 };
82 #endif // -- KNOWNBSGSCONSTRUCTION_H_