RandGenerator

class RandGenerator

Base class for random number generators for sampling various probability distributions. This class should not be used directly. Instead, its subclasses named after specific distributions should be used.

proc

void (shared message field) Shared message for process and reinit

getSample()

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

getMean()

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

getVariance()

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

process()

(destination message field) Handles process call, updates internal time stamp.

reinit()

(destination message field) Handles reinit call.

output

double (source message field) Generated random number.

sample

double (value field) Generated pseudorandom number.

mean

double (value field) Mean of the distribution.

variance

double (value field) Variance of the distribution.