#include <random.h>
Public Member Functions | |
void | GetUniformRandomSample (int32_t min, int32_t max, int32_t count, std::vector< int32_t > &sample) |
RandomGenerator (int32_t seed=-1) | |
Private Attributes | |
boost::mutex | mutex_ |
boost_random::mt19937 | rng_ |
boost_random::random_device | seed_ |
swri_math_util::RandomGenerator::RandomGenerator | ( | int32_t | seed = -1 | ) | [explicit] |
Definition at line 34 of file random.cpp.
void swri_math_util::RandomGenerator::GetUniformRandomSample | ( | int32_t | min, |
int32_t | max, | ||
int32_t | count, | ||
std::vector< int32_t > & | sample | ||
) |
Definition at line 39 of file random.cpp.
boost::mutex swri_math_util::RandomGenerator::mutex_ [private] |
boost_random::mt19937 swri_math_util::RandomGenerator::rng_ [private] |
boost_random::random_device swri_math_util::RandomGenerator::seed_ [private] |