PaGMO  1.1.5
Public Types | Public Member Functions | Friends
pagmo::rng_uint32 Class Reference

This rng returns an unsigned integer in the [0,2**32-1] range. More...

#include <rng.h>

Inherits mt19937.

Public Types

typedef boost::mt19937::result_type result_type
 Return value of the generator.
 

Public Member Functions

 rng_uint32 ()
 Default constructor. More...
 
 rng_uint32 (const result_type &n)
 Constructor from unsigned integer. More...
 

Friends

class boost::serialization::access
 

Detailed Description

This rng returns an unsigned integer in the [0,2**32-1] range.

See also
http://www.boost.org/doc/libs/release/libs/random/random-generators.html

Definition at line 47 of file rng.h.

Constructor & Destructor Documentation

pagmo::rng_uint32::rng_uint32 ( )
inline

Default constructor.

Will invoke the base default constructor.

Definition at line 56 of file rng.h.

pagmo::rng_uint32::rng_uint32 ( const result_type n)
inline

Constructor from unsigned integer.

Will invoke the corresponding base constructor.

Definition at line 61 of file rng.h.


The documentation for this class was generated from the following file: