Class implements Tausworthe RNG. More...
#include <Tausworthe.hpp>
Public Member Functions | |
| Tausworthe () | |
| Constructor. More... | |
| Tausworthe (const Tausworthe &) | |
| Copy constructor. More... | |
| Tausworthe & | operator= (Tausworthe) |
| Copy assignment operator. More... | |
| virtual double | getRandom () |
| generate one random variable from uniform distribution. More... | |
| virtual std::vector< double > | getRandoms (int) |
| generate n random variables from uniform distribution. More... | |
| virtual void | setSeed (unsigned int) |
| sets seed of RNG More... | |
| virtual Tausworthe * | clone () const |
| Virtual copy constructor. More... | |
| virtual | ~Tausworthe () |
| destructor More... | |
Public Member Functions inherited from julian::UniformRNG | |
| virtual | ~UniformRNG () |
| destructor More... | |
Private Attributes | |
| gsl_rng * | rnd_ |
| GSL random number generator. More... | |
Detailed Description
Class implements Tausworthe RNG.
Class implements refined Tausworthe RNG refined by L'Ecuyer. See [24] [40]
- Remarks
- Class uses algorithms implemented in GSL
- Examples:
- simulatedAnnealingExample.cpp.
Constructor & Destructor Documentation
| julian::Tausworthe::Tausworthe | ( | ) |
Constructor.
in constructor we create the GSL Tausworthe algorithm
| julian::Tausworthe::Tausworthe | ( | const Tausworthe & | orig | ) |
Copy constructor.
One need to explicitly define copy constructor to avoid memory-leak.
|
virtual |
destructor
One need to explicitly define destructor to avoid memory-leak.
Member Function Documentation
|
virtual |
Virtual copy constructor.
Method is an implementation of virtual copy constructor.
Reimplemented from julian::UniformRNG.
|
virtual |
generate one random variable from uniform distribution.
Implements julian::UniformRNG.
|
virtual |
generate n random variables from uniform distribution.
Implements julian::UniformRNG.
| Tausworthe & julian::Tausworthe::operator= | ( | Tausworthe | orig | ) |
Copy assignment operator.
One need to explicitly define Copy constructor to avoid memory-leak.
|
virtual |
sets seed of RNG
Implements julian::UniformRNG.
Member Data Documentation
|
private |
GSL random number generator.
The documentation for this class was generated from the following files:
- C:/Unix/home/OEM/jULIAN/src/mathematics/RNGs/Tausworthe.hpp
- C:/Unix/home/OEM/jULIAN/src/mathematics/RNGs/Tausworthe.cpp

Public Member Functions inherited from
1.8.11