|
permlib
0.2.9
Library for permutation computations
|
generates a uniformly distributed random element of
More...
#include <random_schreier_generator.h>
Public Member Functions | |
| RandomSchreierGenerator (const BSGS< PERM, TRANS > &bsgs, unsigned int i, const TRANS &U) | |
| constructor More... | |
| virtual PERM | next () |
| generates an element | |
Public Member Functions inherited from permlib::RandomGenerator< PERM > | |
| virtual bool | hasNext () |
| true, iff more elements can be generated | |
Public Member Functions inherited from permlib::Generator< PERM > | |
| virtual | ~Generator () |
| virtual destructor | |
generates a uniformly distributed random element of
The class has nothing to do with Schreier generators, it just creates elements of the stabilizer of a subgroup. As it can be used as a replacement for Schreier generators, the name is not completely wrong.
| permlib::RandomSchreierGenerator< PERM, TRANS >::RandomSchreierGenerator | ( | const BSGS< PERM, TRANS > & | bsgs, |
| unsigned int | i, | ||
| const TRANS & | U | ||
| ) |
constructor
| bsgs | group |
| i | stabilizer chain index for the supergroup |
| U | a transversal for |