Uses the Aiias method to generate a lookup table of with different probabilties.
More...
#include <disc_dist.hpp>
template<typename T>
class DiscreteDistribution< T >
Uses the Aiias method to generate a lookup table of with different probabilties.
- Template Parameters
-
Definition at line 39 of file disc_dist.hpp.
◆ DiscreteDistribution()
◆ ~DiscreteDistribution()
◆ get_item()
Get a random item with a certian probabilty, thread safe.
Definition at line 92 of file disc_dist.hpp.
The documentation for this class was generated from the following file: