permlib 0.2.9
Library for permutation computations
|
generates uniformly distributed random group elements based on an existing BSGS More...
#include <bsgs_random_generator.h>
Public Member Functions | |
BSGSRandomGenerator (const BSGS< PERM, TRANS > &bsgs) | |
initializes class with existing BSGS | |
virtual PERM | next () |
generates an element | |
![]() | |
virtual bool | hasNext () |
true, iff more elements can be generated | |
![]() | |
virtual | ~Generator () |
virtual destructor | |
virtual PERM | next ()=0 |
generates an element | |
virtual bool | hasNext ()=0 |
true, iff more elements can be generated | |
generates uniformly distributed random group elements based on an existing BSGS
|
inlinevirtual |
generates an element
Implements permlib::Generator< PERM >.