permlib  0.2.9
Library for permutation computations
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
permlib::BaseConstruction< PERM, TRANS > Class Template Reference

base class for BSGS construction algorithms More...

#include <base_construction.h>

Inheritance diagram for permlib::BaseConstruction< PERM, TRANS >:
permlib::KnownBSGSConstruction< PERM, TRANS > permlib::RandomSchreierSimsConstruction< PERM, TRANS, Integer > permlib::SchreierSimsConstruction< PERM, TRANS > permlib::RandomSchreierSimsConstruction< PERM, TRANS >

Public Member Functions

 BaseConstruction (dom_int n)
 constructor More...
 

Protected Member Functions

template<class ForwardIterator , class InputIterator >
void setup (ForwardIterator generatorsBegin, ForwardIterator generatorsEnd, InputIterator prescribedBaseBegin, InputIterator prescribedBaseEnd, BSGS< PERM, TRANS > &bsgs, std::vector< std::list< typename PERM::ptr > > &S) const
 initializes BSGS object More...
 
void mergeGenerators (std::vector< std::list< typename PERM::ptr > > &S, BSGS< PERM, TRANS > &ret) const
 merges all strong generators in S into a single strong generating set ret.S
 

Protected Attributes

dom_int m_n
 cardinality of the set the group is acting on
 

Static Protected Attributes

static const unsigned long * empty = static_cast<unsigned long*>(0)
 auxilliary element marking an empty iterator
 

Detailed Description

template<class PERM, class TRANS>
class permlib::BaseConstruction< PERM, TRANS >

base class for BSGS construction algorithms

Constructor & Destructor Documentation

◆ BaseConstruction()

template<class PERM , class TRANS >
permlib::BaseConstruction< PERM, TRANS >::BaseConstruction ( dom_int  n)
explicit

constructor

Parameters
ncardinality of the set the group is acting on

Member Function Documentation

◆ setup()

template<class PERM, class TRANS>
template<class ForwardIterator , class InputIterator >
void permlib::BaseConstruction< PERM, TRANS >::setup ( ForwardIterator  generatorsBegin,
ForwardIterator  generatorsEnd,
InputIterator  prescribedBaseBegin,
InputIterator  prescribedBaseEnd,
BSGS< PERM, TRANS > &  bsgs,
std::vector< std::list< typename PERM::ptr > > &  S 
) const
protected

initializes BSGS object

Parameters
generatorsBeginbegin iterator of group generators of type PERM
generatorsEndend iterator of group generators of type PERM
prescribedBaseBeginbegin iterator of prescribed base of type unsigned long
prescribedBaseEndend iterator of prescribed base of type unsigned long
bsgsBSGS object to work on
Sapproximation of strong generating set to fill

The documentation for this class was generated from the following file: