BinomialRng

class BinomialRng

Binomially distributed random number generator.

setN()

(destination message field) Assigns field value.

getN()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

setP()

(destination message field) Assigns field value.

getP()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

n

double (value field) Parameter n of the binomial distribution. In a coin toss experiment, this is the number of tosses.

p

double (value field) Parameter p of the binomial distribution. In a coin toss experiment, this is the probability of one of the two sides of the coin being on top.