RNG Class Reference

This is a class that generates random numbers i.e. named the Random Number Generator (RNG). More...

#include <RNG.h>

Public Member Functions

 RNG ()
 default constructor More...
 
void setRandomSeed (unsigned long int new_seed)
 This is the seed for the random number generator (note the call to seed_LFG is only required really if using that type of generator, but the other one is always required) More...
 
void read (std::istream &is)
 
void write (std::ostream &os) const
 
Mdouble getRandomNumber ()
 This is a random generating routine can be used for initial positions. More...
 
Mdouble getRandomNumber (Mdouble min, Mdouble max)
 
Mdouble operator() (Mdouble min, Mdouble max)
 Shorthand for getRandomNumber(min, max) More...
 
Mdouble operator() ()
 
Mdouble getNormalVariate ()
 Produces a random number according to a normal distribution with mean 0 and standard deviation 1. More...
 
Mdouble getNormalVariate (Mdouble mean, Mdouble stdev)
 Produces a random number according to a normal distribution. More...
 
unsigned int getPoissonVariate (Mdouble lambda)
 Produces a random number according to a Poisson distribution. More...
 
Mdouble test ()
 This function tests the quality of random numbers, based on the chi-squared test. More...
 
void setLinearCongruentialGeneratorParmeters (const unsigned int a, const unsigned int c, unsigned int m)
 This functions set the parameters for the LCG random number generator. It goes multiplier, addition, mod. More...
 
void randomise ()
 sets the random variables such that they differ for each run More...
 
void setLaggedFibonacciGeneratorParameters (const unsigned int p, const unsigned int q)
 This function sets the parameters for the LFG random number generator. More...
 
void setRandomNumberGenerator (RNGType type)
 Allows the user to set which random number generator is used. More...
 

Private Member Functions

Mdouble getRandomNumberFromLinearCongruentialGenerator (Mdouble min, Mdouble max)
 This is a basic Linear Congruential Generator Random. More...
 
Mdouble getRandomNumberFromLaggedFibonacciGenerator (Mdouble min, Mdouble max)
 This is a Lagged Fibonacci Generator. More...
 
void seedLaggedFibonacciGenerator ()
 This seed the LFG. More...
 

Private Attributes

unsigned long int randomSeedLinearCongruentialGenerator_
 This is the initial seed of the RNG. More...
 
std::vector< MdoublerandomSeedLaggedFibonacciGenerator_
 This is the seeds required for the LFG. More...
 
unsigned long int a_
 This are the two parameters that control the LCG random generated. More...
 
unsigned long int c_
 
unsigned long int m_
 
unsigned long int p_
 This are the parameters that control the LFG random generator. More...
 
unsigned long int q_
 
RNGType type_
 This is the type of random number generator. More...
 
bool haveSavedBoxMuller_
 A flag that keeps track of whether or not to generate a new pair of normal variates (using Box–Muller) More...
 
Mdouble savedBoxMuller_
 A storage space for the so-far-unused variate from the pair generated by Box–Muller. More...
 

Detailed Description

This is a class that generates random numbers i.e. named the Random Number Generator (RNG).

This is a stand-along class; but is encapsulated (used) by the MD class. To make it architecture safe the both LCG and function is hard codes i.e. does not use the internal C++ one.

Todo:
(AT) implement new C++-standard RNG instead of this one (Kudos on the hard work done here though ;). NB: maybe something for Mercury 2?

Constructor & Destructor Documentation

◆ RNG()

RNG::RNG ( )

default constructor

This is a random number generator and returns a Mdouble within the range specified

Todo:
{Thomas: This code does sth. when min>max; I would prefer to throw an error.}
37 {
39  a_ = 1103515245;
40  c_ = 12345;
41  m_ = 1024 * 1024 * 1024;
43  p_ = 607;
44  q_ = 273;
47 
48  haveSavedBoxMuller_ = false;
49  savedBoxMuller_ = 0;
50 
51 }
@ LAGGED_FIBONACCI_GENERATOR
unsigned long int m_
Definition: RNG.h:164
unsigned long int q_
Definition: RNG.h:169
Mdouble savedBoxMuller_
A storage space for the so-far-unused variate from the pair generated by Box–Muller.
Definition: RNG.h:190
unsigned long int randomSeedLinearCongruentialGenerator_
This is the initial seed of the RNG.
Definition: RNG.h:154
unsigned long int c_
Definition: RNG.h:164
RNGType type_
This is the type of random number generator.
Definition: RNG.h:174
unsigned long int a_
This are the two parameters that control the LCG random generated.
Definition: RNG.h:164
bool haveSavedBoxMuller_
A flag that keeps track of whether or not to generate a new pair of normal variates (using Box–Muller...
Definition: RNG.h:185
void seedLaggedFibonacciGenerator()
This seed the LFG.
Definition: RNG.cc:253
unsigned long int p_
This are the parameters that control the LFG random generator.
Definition: RNG.h:169
std::vector< Mdouble > randomSeedLaggedFibonacciGenerator_
This is the seeds required for the LFG.
Definition: RNG.h:159

References a_, c_, haveSavedBoxMuller_, LAGGED_FIBONACCI_GENERATOR, m_, p_, q_, randomSeedLaggedFibonacciGenerator_, randomSeedLinearCongruentialGenerator_, savedBoxMuller_, seedLaggedFibonacciGenerator(), and type_.

Member Function Documentation

◆ getNormalVariate() [1/2]

Mdouble RNG::getNormalVariate ( )

Produces a random number according to a normal distribution with mean 0 and standard deviation 1.

165 {
166  static const double epsilon = std::numeric_limits<Mdouble>::min();
167 
169  {
170  /* If we have already generated a normal variate, use it. */
171  haveSavedBoxMuller_ = false;
172  return savedBoxMuller_;
173  }
174  else
175  {
176  /* Otherwise, generate a pair of normal variates, return one of them,
177  * and save the other. */
178  Mdouble radius, theta;
179  do
180  {
181  radius = getRandomNumber(0, 1);
182  theta = getRandomNumber(0, 2 * constants::pi);
183  } while (radius <= epsilon);
184  // make sure that the radius generated is not too small
185  // (unlikely to happen, just a safety check)
186 
187  savedBoxMuller_ = sqrt(-2.0 * log(radius)) * sin(theta);
188  haveSavedBoxMuller_ = true;
189  return sqrt(-2.0 * log(radius)) * cos(theta);
190  }
191 }
double Mdouble
Definition: GeneralDefine.h:34
Mdouble getRandomNumber()
This is a random generating routine can be used for initial positions.
Definition: RNG.cc:143
const Mdouble pi
Definition: ExtendedMath.h:45
Mdouble log(Mdouble Power)
Definition: ExtendedMath.cc:104
Mdouble cos(Mdouble x)
Definition: ExtendedMath.cc:64
Mdouble sin(Mdouble x)
Definition: ExtendedMath.cc:44

References mathsFunc::cos(), getRandomNumber(), haveSavedBoxMuller_, mathsFunc::log(), constants::pi, savedBoxMuller_, and mathsFunc::sin().

Referenced by getNormalVariate().

◆ getNormalVariate() [2/2]

Mdouble RNG::getNormalVariate ( Mdouble  mean,
Mdouble  stdev 
)

Produces a random number according to a normal distribution.

194 {
195  if (stdev == 0) {
196  logger(WARN,
197  "[RNG::getNormalVariate(Mdouble, Mdouble)] Zero stdev?");
198  return mean;
199  } else if (stdev < 0) {
200  logger(ERROR,
201  "[RNG::getNormalVariate(Mdouble, Mdouble)] Negative stdev is not allowed.");
202  return 0;
203  } else {
204  return getNormalVariate() * stdev + mean;
205  }
206 }
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
@ WARN
@ ERROR
Mdouble getNormalVariate()
Produces a random number according to a normal distribution with mean 0 and standard deviation 1.
Definition: RNG.cc:164

References ERROR, getNormalVariate(), logger, and WARN.

◆ getPoissonVariate()

unsigned int RNG::getPoissonVariate ( Mdouble  lambda)

Produces a random number according to a Poisson distribution.

This uses Knuth's algorithm for generating Poisson variates. It's simple but slow for large values of lambda — beware.

213 {
214  if (lambda > 50)
215  {
216  logger(WARN, "[RNG::getPoissonVariate(Mdouble)] Knuth's algorithm for Poissons may be slow for lambda = %", lambda);
217  }
218  unsigned int k = 0;
219  Mdouble u;
220  do
221  {
222  k++;
223  u = getRandomNumber(0, 1);
224  }
225  while (u > exp(-lambda));
226  return k-1;
227 }
Mdouble exp(Mdouble Exponent)
Definition: ExtendedMath.cc:84

References mathsFunc::exp(), getRandomNumber(), logger, and WARN.

Referenced by CurvyChute::createBottom().

◆ getRandomNumber() [1/2]

Mdouble RNG::getRandomNumber ( )

This is a random generating routine can be used for initial positions.

144 {
145  return getRandomNumber(0, 1);
146 }

Referenced by SmoothChute::actionsBeforeTimeStep(), Chutebelt::actionsOnRestart(), NautaMixer::addParticles(), HeaterBoundary::checkBoundaryAfterParticleMoved(), BaseCluster::computeInternalStructure(), LawinenBox::create_inflow_particle(), ChutePeriodic::create_inflow_particle(), ChuteWithContraction::create_inflow_particle(), Funnel::create_inflow_particle(), AngleOfRepose::create_inflow_particle(), FlowRule::create_inflow_particle(), SilbertPeriodic::create_inflow_particle(), SegregationWithHopper::create_inflow_particle(), Slide::create_rough_wall(), Chute::createBottom(), CurvyChute::createBottom(), Chute::createFlowParticle(), PSD::drawSample(), InsertionBoundary::generateParticle(), BidisperseCubeInsertionBoundary::generateParticle(), PolydisperseInsertionBoundary::generateParticle(), getNormalVariate(), getPoissonVariate(), InitialConditions< SpeciesType >::InitialConditions(), HorizontalMixer::introduceParticlesInDomain(), main(), operator()(), BaseCluster::particleInsertionSuccessful(), particleParticleTest(), FixedClusterInsertionBoundary::placeParticle(), ChuteInsertionBoundary::placeParticle(), CubeInsertionBoundary::placeParticle(), HopperInsertionBoundary::placeParticle(), PolydisperseInsertionBoundary::placeParticle(), RandomClusterInsertionBoundary::placeParticle(), MD_demo::RandomRadius(), DPMBase::setMeanVelocityAndKineticEnergy(), BaseCluster::setRadii(), ClosedCSCWalls::setupInitialConditions(), CSCInit::setupInitialConditions(), CSCWalls::setupInitialConditions(), MercuryLogo::setupInitialConditions(), SmoothChute::setupInitialConditions(), NozzleDemo::setupInitialConditions(), Binary::setupInitialConditions(), FreeCooling2DinWallsDemo::setupInitialConditions(), FreeCooling3DDemoProblem::setupInitialConditions(), FreeCooling3DinWallsDemo::setupInitialConditions(), FreeCoolingDemoProblem::setupInitialConditions(), HourGlass2D::setupInitialConditions(), HourGlass::setupInitialConditions(), MinimalExampleDrum::setupInitialConditions(), TimeDependentPeriodicBoundary3DSelfTest::setupInitialConditions(), FiveParticles::setupInitialConditions(), Cstatic2d::setupInitialConditions(), LeesEdwardsSelfTest::setupInitialConditions(), NozzleSelfTest::setupInitialConditions(), ParticleCreation::setupInitialConditions(), ParticleParticleCollision::setupInitialConditions(), WallParticleCollision::setupInitialConditions(), my_problem_HGRID::setupInitialConditions(), TriangulatedScrewSelfTest::setupInitialConditions(), TriangulatedWallSelfTest::setupInitialConditions(), DrumRot::setupInitialConditions(), RotatingDrum::setupInitialConditions(), ScalingTestInitialConditionsRelax::setupInitialConditions(), GranularCollapse::setupInitialConditions(), EllipticalSuperQuadricCollision::setupInitialConditions(), Tutorial11::setupInitialConditions(), MD_demo::setupInitialConditions(), MpiMaserChuteTest::setupInitialConditions(), MpiPeriodicBoundaryUnitTest::setupInitialConditions(), ChuteBottom::setupInitialConditions(), test(), and wallParticleTest().

◆ getRandomNumber() [2/2]

Mdouble RNG::getRandomNumber ( Mdouble  min,
Mdouble  max 
)
149 {
150  logger.assert_debug(min <= max, "getRandomNumber: min cannot be larger than max");
153  } else {
155  }
156 }
@ LINEAR_CONGRUENTIAL_GENERATOR
Mdouble getRandomNumberFromLinearCongruentialGenerator(Mdouble min, Mdouble max)
This is a basic Linear Congruential Generator Random.
Definition: RNG.cc:234
Mdouble getRandomNumberFromLaggedFibonacciGenerator(Mdouble min, Mdouble max)
This is a Lagged Fibonacci Generator.
Definition: RNG.cc:265

References getRandomNumberFromLaggedFibonacciGenerator(), getRandomNumberFromLinearCongruentialGenerator(), LINEAR_CONGRUENTIAL_GENERATOR, logger, and type_.

◆ getRandomNumberFromLaggedFibonacciGenerator()

Mdouble RNG::getRandomNumberFromLaggedFibonacciGenerator ( Mdouble  min,
Mdouble  max 
)
private

This is a Lagged Fibonacci Generator.

This is a basic Linear Fibonacci Generator Random Is described by three parameters, the multiplication a, the addition c and the mod m

266 {
267 #pragma optimize( "", off )
269  static_cast<Mdouble>(1.0));
270  //Update the random seed
272  randomSeedLaggedFibonacciGenerator_.emplace_back(new_seed);
273 
274  //Generate a random number in the required range
275 
276  Mdouble random_num;
277 
278  Mdouble range = max - min;
279  random_num = min + range * new_seed;
280  return random_num;
281 #pragma optimize( "", on )
282 }

References p_, q_, and randomSeedLaggedFibonacciGenerator_.

Referenced by getRandomNumber().

◆ getRandomNumberFromLinearCongruentialGenerator()

Mdouble RNG::getRandomNumberFromLinearCongruentialGenerator ( Mdouble  min,
Mdouble  max 
)
private

This is a basic Linear Congruential Generator Random.

This is a basic Linear Congruential Generator Random Is described by three parameters, the multiplication a, the addition c and the mod m

235 {
236  //Update the random seed
238 
239  //Generate a random number in the required range
240 
241  Mdouble range = max - min;
242  Mdouble random_num = min + range * randomSeedLinearCongruentialGenerator_ / (static_cast<Mdouble>(m_) + 1.0);
243 
244  return random_num;
245 }

References a_, c_, m_, and randomSeedLinearCongruentialGenerator_.

Referenced by getRandomNumber(), and seedLaggedFibonacciGenerator().

◆ operator()() [1/2]

Mdouble RNG::operator() ( )
inline
89  {
90  return getRandomNumber(0.0, 1.0);
91  }

References getRandomNumber().

◆ operator()() [2/2]

Mdouble RNG::operator() ( Mdouble  min,
Mdouble  max 
)
inline

Shorthand for getRandomNumber(min, max)

81  {
82  return getRandomNumber(min, max);
83  }

References getRandomNumber().

◆ randomise()

void RNG::randomise ( )

sets the random variables such that they differ for each run

99 {
100 #ifdef MERCURYDPM_USE_MPI
101  //First set a random seed on the root
102  if (PROCESSOR_ID == 0)
103  {
104  setRandomSeed(static_cast<unsigned long int>(time(nullptr)));
105  }
106 
107  //Communicate this to the rest of the processes
108  std::vector<int> values(7);
109  if (PROCESSOR_ID == 0)
110  {
111  values[0] = static_cast<unsigned int>(type_);
112  values[1] = a_;
113  values[2] = c_;
114  values[3] = m_;
115  values[4] = p_;
116  values[5] = q_;
118  }
119  MPIContainer::Instance().broadcast(values.data(),7,0);
120 
121  //Update the generators on the other processors
122  if (PROCESSOR_ID != 0)
123  {
124  type_ = static_cast<RNGType>(values[0]);
125  a_ = values[1];
126  c_ = values[2];
127  m_ = values[3];
128  p_ = values[4];
129  q_ = values[5];
131  }
133 #else
134  setRandomSeed(static_cast<unsigned long int>(time(nullptr)));
135 #endif
136 }
#define PROCESSOR_ID
Definition: GeneralDefine.h:63
RNGType
Definition: RNG.h:39
std::enable_if< std::is_scalar< T >::value, void >::type broadcast(T &t, int fromProcessor=0)
Broadcasts a scalar from the root to all other processors.
Definition: MpiContainer.h:441
static MPIContainer & Instance()
fetch the instance to be used for communication
Definition: MpiContainer.h:134
void setRandomSeed(unsigned long int new_seed)
This is the seed for the random number generator (note the call to seed_LFG is only required really i...
Definition: RNG.cc:53

References a_, MPIContainer::broadcast(), c_, MPIContainer::Instance(), m_, p_, PROCESSOR_ID, q_, randomSeedLinearCongruentialGenerator_, seedLaggedFibonacciGenerator(), setRandomSeed(), and type_.

Referenced by FixedClusterInsertionBoundary::checkBoundaryBeforeTimeStep(), RandomClusterInsertionBoundary::checkBoundaryBeforeTimeStep(), LawinenBox::LawinenBox(), main(), FixedClusterInsertionBoundary::placeParticle(), RandomClusterInsertionBoundary::placeParticle(), and DPMBase::readNextArgument().

◆ read()

void RNG::read ( std::istream &  is)
60 {
61  std::string dummy;
62  unsigned int type;
63  is >> type;
64  type_ = static_cast<RNGType>(type);
65  is >> a_;
66  is >> c_;
67  is >> m_;
68  is >> p_;
69  is >> q_;
71  //note: the seeds for the LaggedFibonacciGenerator cannot be restarted currently.
73  //randomSeedLaggedFibonacciGenerator_.resize(p_);
74  //for (auto& v : randomSeedLaggedFibonacciGenerator_)
75  // is >> v;
76 }

References a_, c_, m_, p_, q_, randomSeedLinearCongruentialGenerator_, seedLaggedFibonacciGenerator(), and type_.

Referenced by DPMBase::read().

◆ seedLaggedFibonacciGenerator()

void RNG::seedLaggedFibonacciGenerator ( )
private

This seed the LFG.

254 {
255  for (unsigned int i = 0; i < p_; i++)
256  {
258  }
259 }
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51

References getRandomNumberFromLinearCongruentialGenerator(), constants::i, p_, and randomSeedLaggedFibonacciGenerator_.

Referenced by randomise(), read(), RNG(), setLaggedFibonacciGeneratorParameters(), and setRandomSeed().

◆ setLaggedFibonacciGeneratorParameters()

void RNG::setLaggedFibonacciGeneratorParameters ( const unsigned int  p,
const unsigned int  q 
)

This function sets the parameters for the LFG random number generator.

339 {
340  //p must be greater than q so makes sure this is true. Not sure what happens if you set p=q, in the LFG alogrithm.
341  if (p < q)
342  {
343  p_ = q;
344  q_ = p;
345  }
346  else
347  {
348  p_ = p;
349  q_ = q;
350  }
351 
354 }

References p_, q_, randomSeedLaggedFibonacciGenerator_, and seedLaggedFibonacciGenerator().

◆ setLinearCongruentialGeneratorParmeters()

void RNG::setLinearCongruentialGeneratorParmeters ( const unsigned int  a,
const unsigned int  c,
unsigned int  m 
)

This functions set the parameters for the LCG random number generator. It goes multiplier, addition, mod.

92 {
93  a_ = a;
94  c_ = c;
95  m_ = m;
96 }

References a_, c_, and m_.

Referenced by main().

◆ setRandomNumberGenerator()

void RNG::setRandomNumberGenerator ( RNGType  type)

Allows the user to set which random number generator is used.

139 {
140  type_ = type;
141 }

References type_.

Referenced by main().

◆ setRandomSeed()

void RNG::setRandomSeed ( unsigned long int  new_seed)

This is the seed for the random number generator (note the call to seed_LFG is only required really if using that type of generator, but the other one is always required)

References randomSeedLinearCongruentialGenerator_, and seedLaggedFibonacciGenerator().

Referenced by DPMBase::constructor(), main(), particleParticleTest(), PSD::PSD(), randomise(), and PSD::setFixedSeed().

◆ test()

Mdouble RNG::test ( )

This function tests the quality of random numbers, based on the chi-squared test.

This function tests the quality of random numbers, based on the chi-squared test. It reports a probability that the random number being generated are coming from a uniform distributed. If this number is less than 0.95, it is strongly advised that you change the parameters being used

290 {
291  //This are the fixed parameters that define the test
292  static unsigned int num_of_tests = 100000;
293  static Mdouble max_num = 100.0;
294  static unsigned int num_of_bins = 10;
295 
296  //This is the generated random_number
297  Mdouble rn;
298  //This is the bin the random number will lie in
299  unsigned int bin = 0;
300  //This is a vector of bins
301  std::vector<int> count;
302  count.resize(num_of_bins);
303 
304  //Initialisation of the bins
305  for (unsigned int i = 0; i < num_of_bins; i++)
306  {
307  count[bin] = 0;
308  }
309 
310  //Loop over a number of tests
311  for (unsigned int i = 0; i < num_of_tests; i++)
312  {
313  rn = getRandomNumber(0.0, max_num);
314  bin = static_cast<unsigned int>(std::floor(rn * num_of_bins / max_num));
315 
316  //Add one to the bin count
317  count[bin]++;
318 
319  }
320 
321  //Final post-process the result and report on the random number
322  Mdouble chi_cum = 0.0;
323  Mdouble expected = num_of_tests / num_of_bins;
324 
325  for (unsigned int i = 0; i < num_of_bins; i++)
326  {
327  chi_cum = chi_cum + (count[i] - expected) * (count[i] - expected) / expected;
328  logger(INFO, "% : % : %\n", Flusher::NO_FLUSH, i, count[i], (count[i] - expected) * (count[i] - expected) /
329  expected);
330  }
331  //end for loop over computing the chi-squared value.
332  logger(INFO, "chi_cum %", chi_cum);
333 
334  return mathsFunc::chi_squared_prob(chi_cum, num_of_bins);
335 }
@ INFO
Mdouble chi_squared_prob(Mdouble x, unsigned int k)
This is the function which actually gives the probability back using a chi squared test.
Definition: ExtendedMath.cc:188

References mathsFunc::chi_squared_prob(), getRandomNumber(), constants::i, INFO, logger, and NO_FLUSH.

Referenced by main().

◆ write()

void RNG::write ( std::ostream &  os) const
79 {
80  os << " " << static_cast<unsigned int>(type_);
81  os << " " << a_;
82  os << " " << c_;
83  os << " " << m_;
84  os << " " << p_;
85  os << " " << q_;
87  //for (auto v : randomSeedLaggedFibonacciGenerator_)
88  // os << " " << v;
89 }

References a_, c_, m_, p_, q_, randomSeedLinearCongruentialGenerator_, and type_.

Referenced by DPMBase::write().

Member Data Documentation

◆ a_

unsigned long int RNG::a_
private

This are the two parameters that control the LCG random generated.

Referenced by getRandomNumberFromLinearCongruentialGenerator(), randomise(), read(), RNG(), setLinearCongruentialGeneratorParmeters(), and write().

◆ c_

◆ haveSavedBoxMuller_

bool RNG::haveSavedBoxMuller_
private

A flag that keeps track of whether or not to generate a new pair of normal variates (using Box–Muller)

Referenced by getNormalVariate(), and RNG().

◆ m_

◆ p_

unsigned long int RNG::p_
private

This are the parameters that control the LFG random generator.

Referenced by getRandomNumberFromLaggedFibonacciGenerator(), randomise(), read(), RNG(), seedLaggedFibonacciGenerator(), setLaggedFibonacciGeneratorParameters(), and write().

◆ q_

◆ randomSeedLaggedFibonacciGenerator_

std::vector<Mdouble> RNG::randomSeedLaggedFibonacciGenerator_
private

◆ randomSeedLinearCongruentialGenerator_

unsigned long int RNG::randomSeedLinearCongruentialGenerator_
private

This is the initial seed of the RNG.

Referenced by getRandomNumberFromLinearCongruentialGenerator(), randomise(), read(), RNG(), setRandomSeed(), and write().

◆ savedBoxMuller_

Mdouble RNG::savedBoxMuller_
private

A storage space for the so-far-unused variate from the pair generated by Box–Muller.

Referenced by getNormalVariate(), and RNG().

◆ type_

RNGType RNG::type_
private

This is the type of random number generator.

Referenced by getRandomNumber(), randomise(), read(), RNG(), setRandomNumberGenerator(), and write().


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