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 random number stream number, defaults to 0, which means the next stream
the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider
Constructors
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
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