Index: lemon/random.h
===================================================================
--- lemon/random.h (revision 177)
+++ lemon/random.h (revision 178)
@@ -541,4 +541,8 @@
/// @{
+ ///\name Initialization
+ ///
+ /// @{
+
/// \brief Default constructor
///
@@ -612,5 +616,5 @@
///
/// By default, this function calls the \c seedFromFile() member
- /// function with the /dev/urandom file. If it is not success,
+ /// function with the /dev/urandom file. If it does not success,
/// it uses the \c seedFromTime().
/// \return Currently always true.
@@ -635,5 +639,5 @@
/// \param file The source file
/// \param offset The offset, from the file read.
- /// \return True when the seeding is success.
+ /// \return True when the seeding successes.
#ifndef WIN32
bool seedFromFile(const std::string& file = "/dev/urandom", int offset = 0)
@@ -705,4 +709,10 @@
}
+ /// @}
+
+ ///\name Uniform distributions
+ ///
+ /// @{
+
/// \brief Returns a random real number from the range [0, 1)
///
@@ -761,4 +771,6 @@
return _random_bits::IntConversion::convert(core);
}
+
+ /// @}
unsigned int uinteger() {