8 #ifndef INCLUDE_MOLASSEMBLER_PRNG_H
9 #define INCLUDE_MOLASSEMBLER_PRNG_H
11 #include "Molassembler/Export.h"
16 namespace Molassembler {
30 explicit Engine(
int seedArg);
51 void seed(
const std::vector<int>& signedSeeds);
60 bool operator == (
const Engine& other)
const;
64 std::unique_ptr<Impl> pImpl_;
Drives a PRNG.
Definition: Prng.h:24
static constexpr result_type min()
Minimum value of result_type.
Definition: Prng.h:38
void seed(int x)
Seed the underlying state with an integer value.
uint32_t result_type
The type this engine generates.
Definition: Prng.h:27
void seed(const std::vector< int > &signedSeeds)
Seed the underlying state with multiple integer values.
static constexpr result_type max()
Maximum value of result_type.
Definition: Prng.h:43