src/core/model/random-variable-stream.h
changeset 10218 97da49da2d6c
parent 9970 a613974fffeb
child 11046 e62bccfbe56e
equal deleted inserted replaced
10217:1eee1a24836d 10218:97da49da2d6c
  2010   /// The lower bound on values that can be returned by this RNG stream.
  2010   /// The lower bound on values that can be returned by this RNG stream.
  2011   double m_min;
  2011   double m_min;
  2012 
  2012 
  2013   /// The upper bound on values that can be returned by this RNG stream.
  2013   /// The upper bound on values that can be returned by this RNG stream.
  2014   double m_max;
  2014   double m_max;
  2015 
       
  2016   /// It's easier to work with the mode internally instead of the
       
  2017   /// mean.  They are related by the simple: mean = (min+max+mode)/3.
       
  2018   double m_mode;
       
  2019 };
  2015 };
  2020 
  2016 
  2021 /**
  2017 /**
  2022  * \ingroup randomvariable
  2018  * \ingroup randomvariable
  2023  * \brief The Zipf distribution Random Number Generator (RNG) that
  2019  * \brief The Zipf distribution Random Number Generator (RNG) that