Synthia
Generic and flexible data structure generator
Package ca.uqac.lif.synthia.random

Pickers that produce pseudo-random objects such as numbers. More...

Classes

class  AffineTransform
 Applies an affine transform to a value produced by another picker. More...
 
class  BiasedRandomFloat
 Generates pseudo-random floating-point numbers in the interval [0,1], but according to a probability distribution that is not uniform. More...
 
class  GaussianFloat
 Produces a float picked from a Gaussian probability distribution. More...
 
class  PoissonInteger
 Generates integer numbers following a Poisson distribution. More...
 
class  Random
 An instance of this class is used to generate a stream of pseudorandom numbers. More...
 
class  RandomBoolean
 Picks a Boolean value. More...
 
class  RandomFloat
 Picks a floating point number uniformly in an interval. More...
 
class  RandomInteger
 Picks an integer uniformly in an interval. More...
 
class  RandomPicker
 Picks an object based on the value of a random number generator. More...
 
class  RandomSubList
 An equivalent of RandomSubString but for lists. More...
 

Detailed Description

Pickers that produce pseudo-random objects such as numbers.

The package includes a forked version of Oracle's own Random class, with a few modifications to allow probing its internal state and creating stateful copies of the object.