Generator Distribution Functions

Several agent variables can take a function to determine behavior. This function will be evaluated each time a new value for the variable is needed. The function can be any perl code such as a constant though there are several built in functions available that can provide desired behavior.

minmax(x,y)returns a random variable between the values of x and y
gamma(a,r)returns a random variable from the gamma distribution with alpha a and rate r
pareto(a,s,c)returns a random variable from the pareto distribution with alpha a, scaled by s and capped at c
expo(l,s,c)returns a random variable from the exponential distribution with lamba l, scaled by s and capped at c

if scale and/or capped are not given, they are ignored