Go to the source code of this file.
Classes | |
| class | non_uniform_random_int.NonUniformRandomInt |
| Class for generating random integers between 0 (inclusive) and and upperbound (exlusive), with given probabilities. More... | |
Packages | |
| package | non_uniform_random_int |
| Provides functionality for generating non-uniform random integers. | |
Functions | |
| def | non_uniform_random_int.calc_expected |
| Calculates the expected average for a list of probabilities. | |
| def | non_uniform_random_int.demo_NonUniformRandomInt |
| Demonstrates the usage of NonUniformRandomInt. | |
Variables | |
| float | non_uniform_random_int.FLOAT_ERROR = 0.000001 |
1.5.8