18 virtual void seed(
const unsigned int seed) = 0;
22 virtual void discard(
const unsigned long long skip) = 0;
26 virtual unsigned int next() = 0;
34 static constexpr
result_type min() {
return std::numeric_limits<result_type>::min(); }
38 static constexpr result_type max() {
return std::numeric_limits<result_type>::max(); }
Pseudo-random number generator algorithm interface.
Definition randombit_generator.h:9
static constexpr result_type min()
Gets the smallest possible value in the output range.
Definition randombit_generator.h:34
virtual unsigned int next()=0
Generates the next random number.
static constexpr result_type max()
Gets the largest possible value in the output range.
Definition randombit_generator.h:38
virtual void discard(const unsigned long long skip)=0
Advances the engine's state by a specified amount.
unsigned int result_type
Definition randombit_generator.h:11
virtual ~RandomBitGenerator()=default
Destroys a RandomBitGenerator instance.
virtual void seed(const unsigned int seed)=0
Sets the current state of the generator engine.
virtual double next_double() noexcept=0
Generates a random floating point number in range [0,1)
Top-level namespace for Health-GPS Console host application.
Definition command_options.cpp:8