#include <bayeux/mygsl/random_utils.h>
|
static const int32_t | SEED_INVALID = -1 |
| Constant that represents an invalid seed value. More...
|
|
static const int32_t | SEED_AUTO = 0 |
| Constant that represents a seed that must be automatically initialized from some external 'random' source. More...
|
|
static const int32_t | SEED_TIME = 0 |
| Constant that represents a seed that must be initialized from some external 'random' source like the current time, the process ID or the /dev/urandom source (or combinaison of them) More...
|
|
static const int32_t | SEED_MAX = 0x7FFFFFFF |
| Constant that represents the maximum allowed seed value. More...
|
|
A class that hosts useful constants related to the management of pseudo-random number generators (PRNG)
◆ is_valid_seed()
static bool mygsl::random_utils::is_valid_seed |
( |
int32_t |
| ) |
|
|
static |
Check if a given seed is valid.
◆ SEED_AUTO
const int32_t mygsl::random_utils::SEED_AUTO = 0 |
|
static |
Constant that represents a seed that must be automatically initialized from some external 'random' source.
◆ SEED_INVALID
const int32_t mygsl::random_utils::SEED_INVALID = -1 |
|
static |
Constant that represents an invalid seed value.
◆ SEED_MAX
const int32_t mygsl::random_utils::SEED_MAX = 0x7FFFFFFF |
|
static |
Constant that represents the maximum allowed seed value.
◆ SEED_TIME
const int32_t mygsl::random_utils::SEED_TIME = 0 |
|
static |
Constant that represents a seed that must be initialized from some external 'random' source like the current time, the process ID or the /dev/urandom source (or combinaison of them)
The documentation for this class was generated from the following file: