Bernoulli Picker
constructor(successProbability: Double, successOption: T, failureOption: T, stream: RNStreamIfc = KSLRandom.nextRNStream())
Parameters
success Probability
the probability associated with success
success
the success choice
failure
the failure choice
stream
the associated random number stream