Bernoulli Picker
constructor(successProbability: Double, successOption: T, failureOption: T, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider)
Parameters
success Probability
the probability associated with success
success Option
the success choice
failure Option
the failure choice
stream Num
the random number stream number, defaults to 0, which means the next stream
stream Provider
the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider