Random< int_type, distribution, engine > Class Template Reference
#include <Random.h>
Public Types | |
typedef int_type | result_type |
typedef boost::integer_traits < result_type > | result_type_traits |
typedef engine | random_engine |
typedef distribution< result_type > | random_distribution |
Public Member Functions | |
Random (result_type min=result_type_traits::const_min, result_type max=result_type_traits::const_max) | |
result_type | operator() () |
Detailed Description
template<typename int_type, template< typename U > class distribution = boost::uniform_int, class engine = random_engine<unsigned int>>
class Random< int_type, distribution, engine >
Member Typedef Documentation
template<typename int_type , template< typename U > class distribution = boost::uniform_int, class engine = random_engine<unsigned int>>
typedef distribution<result_type> Random< int_type, distribution, engine >::random_distribution |
template<typename int_type , template< typename U > class distribution = boost::uniform_int, class engine = random_engine<unsigned int>>
typedef engine Random< int_type, distribution, engine >::random_engine |
template<typename int_type , template< typename U > class distribution = boost::uniform_int, class engine = random_engine<unsigned int>>
typedef int_type Random< int_type, distribution, engine >::result_type |
template<typename int_type , template< typename U > class distribution = boost::uniform_int, class engine = random_engine<unsigned int>>
typedef boost::integer_traits<result_type> Random< int_type, distribution, engine >::result_type_traits |
Constructor & Destructor Documentation
template<typename int_type , template< typename U > class distribution = boost::uniform_int, class engine = random_engine<unsigned int>>
Random< int_type, distribution, engine >::Random | ( | result_type | min = result_type_traits::const_min , |
result_type | max = result_type_traits::const_max |
||
) | [inline, explicit] |
Member Function Documentation
template<typename int_type , template< typename U > class distribution = boost::uniform_int, class engine = random_engine<unsigned int>>
result_type Random< int_type, distribution, engine >::operator() | ( | ) | [inline] |
The documentation for this class was generated from the following file:
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.