Discrete Random Generator. More...
#include <cassert>
#include <memory>
#include <random>
Go to the source code of this file.
Classes | |
class | Hypertable::DiscreteRandomGenerator |
Generates samples from a discrete probability distribution in the range [0, max_val] by transforming a uniform [0, 1] distribution into the desired distribution. More... | |
Namespaces | |
Hypertable | |
Hypertable definitions | |
Typedefs | |
typedef std::shared_ptr < DiscreteRandomGenerator > | Hypertable::DiscreteRandomGeneratorPtr |
Discrete Random Generator.
This is a base class implementing a discrete random generator.
Definition in file DiscreteRandomGenerator.h.