COIN-OR::LEMON - Graph Library

Changeset 178:d2bac07f1742 in lemon-1.2 for lemon


Ignore:
Timestamp:
04/15/08 14:12:10 (12 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Doc improvements in random.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/random.h

    r177 r178  
    541541    /// @{
    542542
     543    ///\name Initialization
     544    ///
     545    /// @{
     546
    543547    /// \brief Default constructor
    544548    ///
     
    612616    ///
    613617    /// By default, this function calls the \c seedFromFile() member
    614     /// function with the <tt>/dev/urandom</tt> file. If it is not success,
     618    /// function with the <tt>/dev/urandom</tt> file. If it does not success,
    615619    /// it uses the \c seedFromTime().
    616620    /// \return Currently always true.
     
    635639    /// \param file The source file
    636640    /// \param offset The offset, from the file read.
    637     /// \return True when the seeding is success.
     641    /// \return True when the seeding successes.
    638642#ifndef WIN32
    639643    bool seedFromFile(const std::string& file = "/dev/urandom", int offset = 0)
     
    705709    }
    706710
     711    /// @}
     712
     713    ///\name Uniform distributions
     714    ///
     715    /// @{
     716
    707717    /// \brief Returns a random real number from the range [0, 1)
    708718    ///
     
    761771      return _random_bits::IntConversion<Number, Word>::convert(core);
    762772    }
     773
     774    /// @}
    763775
    764776    unsigned int uinteger() {
Note: See TracChangeset for help on using the changeset viewer.