MCPcopy Create free account
hub / github.com/RoboJackets/software-training / UniformRandomGenerator

Class UniformRandomGenerator

localization/src/random_helpers.hpp:29–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27{
28
29class UniformRandomGenerator
30{
31public:
32 UniformRandomGenerator();
33
34 double Sample();
35
36private:
37 std::default_random_engine engine_;
38 std::uniform_real_distribution<double> distribution_;
39};
40
41class GaussianRandomGenerator
42{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected