#include <Rand.h>
Public Methods | |
| Rand (int seed=1) | |
| void | seed (int seed) |
| double | uniform () |
| int | discrete (int min, int max) |
| double | gaussian (double sd) |
Private Methods | |
| void | ranmarin (int ijkl) |
Private Attributes | |
| double | c |
| double | cd |
| double | cm |
| double | u [97] |
| int | i97 |
| int | j97 |
| bool | outputReady |
| double | output |
|
|
Definition at line 16 of file Rand.h. References BIGPRIME, outputReady, ranmarin, and seed. |
|
||||||||||||
|
Definition at line 50 of file Rand.h. References uniform. Referenced by CCommaStrategyOne::Recombination, CCommaStrategyOne::SelectParents, and CClonalCommaES::SelectParents. |
|
|
|
Definition at line 81 of file Rand.h. |
|
|
Definition at line 28 of file Rand.h. References BIGPRIME, outputReady, ranmarin, and seed. Referenced by CContinuousTimeMonteCarloMover::CContinuousTimeMonteCarloMover, Rand, and seed. |
|
|
Definition at line 33 of file Rand.h. References c, cd, cm, i97, j97, and u. Referenced by CVariableStepsizeAnnealMinimizer::AcceptMove, CStochasticSensitivityAnalysis::AcceptMove, CPeriodicQuenchMinimizer::AcceptMove, discrete, gaussian, CBasicQuenchMinimizer::GenerateMove, CCommaStrategyOne::InitializePopulation, ZeroTAnnealMinimizer::Minimize, CMixedReactionMover::Move, CContinuousTimeMonteCarloMover::Move, and CParameterRandomizer::Randomize. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 13 of file Rand.h. Referenced by gaussian. |
|
|
|
|
|
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002