Spec MersenneTwisterRng
Mersenne Twister 19937 Random Number Generator.

Extends Rng
All Extended Rng
Defined in <seqan/random.h>
Signature template <> class Rng<MersenneTwister>;

Member Function Overview

Member Functions Inherited From Rng

Interface Function Overview

Interface Functions Inherited From Rng

Interface Metafunction Overview

Interface Metafunctions Inherited From Rng

Member Functions Detail


Constructor Mersenne Twister Rng.


seed The unsigned value to use for seeding, defaults to 0.

Interface Functions Detail

void reSeed(mt[, seed]);

Reset and re-seed Mersenne Twister Rng.


mt The MersenneTwisterRng to re-seed.
seed The unsigned to use for re-seeding, defaults to 0.