woss::RandomGenerator class
More...
#include <random-generator-definitions.h>
woss::RandomGenerator class
Class for random value generation purposes
◆ RandomGenerator() [1/3]
| woss::RandomGenerator::RandomGenerator |
( |
int | s = 0 | ) |
|
|
inline |
◆ ~RandomGenerator()
| virtual woss::RandomGenerator::~RandomGenerator |
( |
| ) |
|
|
virtualdefault |
◆ RandomGenerator() [2/3]
| woss::RandomGenerator::RandomGenerator |
( |
const RandomGenerator & | copy | ) |
|
|
default |
◆ RandomGenerator() [3/3]
| woss::RandomGenerator::RandomGenerator |
( |
RandomGenerator && | tmp | ) |
|
|
default |
◆ clone()
| virtual std::unique_ptr< RandomGenerator > woss::RandomGenerator::clone |
( |
| ) |
const |
|
inlinevirtual |
◆ create()
| virtual std::unique_ptr< RandomGenerator > woss::RandomGenerator::create |
( |
int | seed | ) |
const |
|
inlinevirtual |
◆ getRand()
| double RandomGenerator::getRand |
( |
| ) |
const |
|
virtual |
◆ getRandInt()
| int RandomGenerator::getRandInt |
( |
| ) |
const |
|
virtual |
◆ getSeed()
| virtual int woss::RandomGenerator::getSeed |
( |
| ) |
const |
|
inlinevirtual |
◆ initialize()
| void RandomGenerator::initialize |
( |
| ) |
|
|
virtual |
◆ isValid()
| virtual bool woss::RandomGenerator::isValid |
( |
| ) |
const |
|
inlinevirtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setSeed()
| virtual void woss::RandomGenerator::setSeed |
( |
int | s | ) |
|
|
inlinevirtual |
◆ initialized
| bool woss::RandomGenerator::initialized = false |
|
protected |
true if initialize() has been called, false otherwise
Referenced by getRand(), WossRandomGenerator::getRand(), getRandInt(), WossRandomGenerator::getRandInt(), initialize(), WossRandomGenerator::initialize(), isValid(), WossRandomGenerator::operator=(), RandomGenerator(), and WossRandomGenerator::WossRandomGenerator().
◆ seed
| int woss::RandomGenerator::seed = 0 |
|
protected |
The documentation for this class was generated from the following files: