47 int get_int(
int low = 0,
int high = 1) noexcept;
54 std::vector<
int>
get_vector_ints(
int low = 0,
int high = 1,
int count = 1) noexcept;
58 void seed(
unsigned long long seed = 0) noexcept;
64 int operator()(
int low,
int high) noexcept
71 class randomizer_impl;
73 std::unique_ptr<randomizer_impl> m_impl;
Provides random-number generating capabilities.
Definition randomizer.h:17
void seed(unsigned long long seed=0) noexcept
Seeds the random number generator with the given seed value.
int get_int(int low=0, int high=1) noexcept
Generates a random integer within a specified range.
randomizer(randomizer &&other) noexcept
Move constructor.
randomizer & operator=(randomizer &&other) noexcept
Move assignment operator.
randomizer()
Default constructor.
randomizer & operator=(const randomizer &other)
Copy assignment operator.
std::vector< int > get_vector_ints(int low=0, int high=1, int count=1) noexcept
Generates a shuffled vector of all integers in the specified range.
randomizer(const randomizer &other)
Copy constructor.
Namespace for the maze builder.
Definition algo_interface.h:6