random_number_generator.h
Go to the documentation of this file.
105 FastM2P63LinearCongruenceRandomNumberGenerator(unsigned long long multiplier, unsigned long long adder, unsigned long long seed);
150 IntenseM2P63LinearCongruenceRandomNumberGenerator(unsigned long long multiplier, unsigned long long adder, unsigned long long seed, int accept_bits);
197 FastLinearCongruenceRandomNumberGenerator(unsigned long long multiplier, unsigned long long adder, unsigned long long modulus, unsigned long long seed);
243 IntenseLinearCongruenceRandomNumberGenerator(unsigned long long multiplier, unsigned long long adder, unsigned long long modulus, unsigned long long seed);
virtual void LoadData(std::ifstream *input_stream)=0
Loads data to reset the state of the random number generator to the state which was stored...
virtual void StoreData(std::ofstream *output_stream)=0
Stores the current state of this random number generator, such that it can completely restore the cur...
virtual long long RandomLongLong()=0
Creates a random long long value.
virtual ~RandomNumberGenerator()
The destructor.
This is a fast random number generator which uses linear congruences.
Definition: random_number_generator.h:187
virtual mpf_t * RandomMpft()=0
Creates a random mpf_t value in the interval [0,1].
This is a random number generator which uses linear congruences.
Definition: random_number_generator.h:233
base namespace for arbitrary precision calculation.
Definition: check_condition.h:45
This is a random number generator which uses linear congruences. It uses the modulus 263...
Definition: random_number_generator.h:140
This class is an abstract class. It supplies the interface for random number generators.
Definition: random_number_generator.h:52
This is a fast random number generator, which uses linear congruences. It uses the modulus 263...
Definition: random_number_generator.h:96
virtual std::string GetName()=0
Returns a string representation of this object.