non_uniform_random_int.py File Reference

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


Generated on Sun May 24 21:48:21 2009 by  doxygen 1.5.8