Full Library / Math Operator / Bernoulli / Bernoulli
Block Name: Bernoulli
- Produce a random sequence of booleans. The output is of type BooleanToken. The values that are generated are independent and identically distributed, where the probability of true is given by the parameter trueProbability. The seed can be specified as a parameter to control the sequence that is generated. This actor uses the class java.util.Random to generate random numbers.
- Version:
- $Id: Bernoulli.java,v 1.24 2003/01/23 21:12:24
trueProbability
public Parameter trueProbability
- The probability of true. This parameter contains a DoubleToken, initially with value 0.5.
Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor