rv class defined in
RNG.h is a random variable whose default constructor
rv() sets its seed number as the current time. There are
four probability density functions that can be used to select a
random number: uniform, triangular,
exponential, normal.
uniform(a,b) returns a random number having a uniform
PDF over the closed interval [a,b].
triangular(a,b,c) returns a random number having a
triangular PDF over the closed interval [a,b] with mode
c, where c in [a,b].
exp(m) returns a random number having an exponential
PDF with mean m.
normal(m,s) returns a random number having a normal
PDF with mean m and standard deviation s.