Bernoulli Picker
Allows the picking between two alternatives according to a Bernoulli process.
Parameters
the probability associated with success
the success choice
the failure choice
the associated random number stream
Properties
If true, the stream will automatically participate in having its stream advanced to the next sub-stream via stream managers
Tells the stream to start producing antithetic variates
Returns an element randomly selected from the list
If true, the stream will automatically participate in having its stream reset to its start stream via stream managers
the underlying stream of random numbers
Functions
Positions the RNG at the beginning of its next substream
The resetStartStream method will position the RNG at the beginning of its stream. This is the same location in the stream as assigned when the RNG was created and initialized.
Resets the position of the RNG at the start of the current substream
Assigns the stream associated with the supplied number from the default RNStreamProvider