permlib  0.2.6
Library for permutation computations
 All Classes Functions Variables Typedefs Enumerations Friends
Public Member Functions
permlib::ProductReplacementGenerator< PERM > Class Template Reference

generates nearly-uniformly distributed random group elements using the product replacement algorithm More...

#include <product_replacement_generator.h>

Inheritance diagram for permlib::ProductReplacementGenerator< PERM >:
permlib::RandomGenerator< PERM > permlib::Generator< PERM >

List of all members.

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

Detailed Description

template<class PERM>
class permlib::ProductReplacementGenerator< PERM >

generates nearly-uniformly distributed random group elements using the product replacement algorithm


Constructor & Destructor Documentation

template<class PERM >
template<class InputIterator >
permlib::ProductReplacementGenerator< PERM >::ProductReplacementGenerator ( const unsigned int  n,
InputIterator  generatorsBegin,
InputIterator  generatorsEnd 
)

initializes class with group generators

Parameters:
generatorsBeginbegin iterator of PERM
generatorsEndend iterator of PERM

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