|
permlib
0.2.8
Library for permutation computations
|
generates nearly-uniformly distributed random group elements using the product replacement algorithm More...
#include <product_replacement_generator.h>
Public Member Functions | |
| template<class InputIterator > | |
| ProductReplacementGenerator (const unsigned int n, InputIterator generatorsBegin, InputIterator generatorsEnd) | |
| initializes class with group generators | |
| virtual PERM | next () |
| generates an element | |
generates nearly-uniformly distributed random group elements using the product replacement algorithm
| permlib::ProductReplacementGenerator< PERM >::ProductReplacementGenerator | ( | const unsigned int | n, |
| InputIterator | generatorsBegin, | ||
| InputIterator | generatorsEnd | ||
| ) |
initializes class with group generators
| generatorsBegin | begin iterator of PERM |
| generatorsEnd | end iterator of PERM |
1.7.6.1