src/core/model/random-variable-stream.h
changeset 9904 58f68dac8bf3
parent 9013 09e1ef298c51
child 9970 a613974fffeb
equal deleted inserted replaced
9903:d6395764ee92 9904:58f68dac8bf3
  1980   /// The lower bound on values that can be returned by this RNG stream.
  1980   /// The lower bound on values that can be returned by this RNG stream.
  1981   double m_min;
  1981   double m_min;
  1982 
  1982 
  1983   /// The upper bound on values that can be returned by this RNG stream.
  1983   /// The upper bound on values that can be returned by this RNG stream.
  1984   double m_max;
  1984   double m_max;
  1985 
       
  1986   /// It's easier to work with the mode internally instead of the
       
  1987   /// mean.  They are related by the simple: mean = (min+max+mode)/3.
       
  1988   double m_mode;
       
  1989 };
  1985 };
  1990 
  1986 
  1991 /**
  1987 /**
  1992  * \ingroup randomvariable
  1988  * \ingroup randomvariable
  1993  * \brief The Zipf distribution Random Number Generator (RNG) that
  1989  * \brief The Zipf distribution Random Number Generator (RNG) that