OKlibrary  0.2.1.6
Algorithms::RandomGeneratorInterval< bgt, dt > Class Template Reference

#include <Algorithms.hpp>

List of all members.

Public Types

typedef bgt base_generator_type
typedef dt distribution_type
typedef
boost::variate_generator
< base_generator_type,
distribution_type
generator_type
typedef generator_type::result_type interval_type
typedef
base_generator_type::result_type 
seed_type

Public Member Functions

 RandomGeneratorInterval (interval_type min, interval_type max)
generator_type operator() (seed_type seed=1) const

Detailed Description

template<class bgt = boost::minstd_rand, class dt = boost::uniform_int<>>
class Algorithms::RandomGeneratorInterval< bgt, dt >

Definition at line 229 of file Algorithms.hpp.


Member Typedef Documentation

template<class bgt = boost::minstd_rand, class dt = boost::uniform_int<>>
typedef bgt Algorithms::RandomGeneratorInterval< bgt, dt >::base_generator_type

Definition at line 231 of file Algorithms.hpp.

template<class bgt = boost::minstd_rand, class dt = boost::uniform_int<>>
typedef dt Algorithms::RandomGeneratorInterval< bgt, dt >::distribution_type

Definition at line 232 of file Algorithms.hpp.

template<class bgt = boost::minstd_rand, class dt = boost::uniform_int<>>
typedef boost::variate_generator<base_generator_type, distribution_type> Algorithms::RandomGeneratorInterval< bgt, dt >::generator_type

Definition at line 233 of file Algorithms.hpp.

template<class bgt = boost::minstd_rand, class dt = boost::uniform_int<>>
typedef generator_type::result_type Algorithms::RandomGeneratorInterval< bgt, dt >::interval_type

Definition at line 234 of file Algorithms.hpp.

template<class bgt = boost::minstd_rand, class dt = boost::uniform_int<>>
typedef base_generator_type::result_type Algorithms::RandomGeneratorInterval< bgt, dt >::seed_type

Definition at line 235 of file Algorithms.hpp.


Constructor & Destructor Documentation

template<class bgt = boost::minstd_rand, class dt = boost::uniform_int<>>
Algorithms::RandomGeneratorInterval< bgt, dt >::RandomGeneratorInterval ( interval_type  min,
interval_type  max 
) [inline]

Definition at line 236 of file Algorithms.hpp.


Member Function Documentation

template<class bgt = boost::minstd_rand, class dt = boost::uniform_int<>>
generator_type Algorithms::RandomGeneratorInterval< bgt, dt >::operator() ( seed_type  seed = 1) const [inline]

Definition at line 237 of file Algorithms.hpp.


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