src/core/random-variable.h
changeset 4256 cc06d903ca09
parent 4247 d1b2785e4509
child 4317 0a250f44e0ed
--- a/src/core/random-variable.h	Wed Mar 04 11:34:51 2009 +0000
+++ b/src/core/random-variable.h	Wed Mar 04 18:55:32 2009 +0100
@@ -200,6 +200,13 @@
   */
   double GetValue(double s, double l);
 
+  /**
+   * \brief Returns a random unsigned integer from the interval [s,l] including both ends.
+   * \param s Low end of the range
+   * \param l High end of the range
+   * \return A random unsigned integer value.
+   */
+  uint32_t GetInteger (uint32_t s, uint32_t l);
 };
 
 /**