Scopira 20080306

scopira::tool::unismallint_dist< UniRanGen, IntType > Class Template Reference

#include <distrandom.h>

List of all members.

Public Types

typedef UniRanGen base_type
typedef IntType result_type

Public Member Functions

 unismallint_dist (base_type &rng, IntType min, IntType max)
 ctor
result_type min (void) const
 min
result_type max (void) const
 max
result_type operator() (void)
 get next

Static Public Attributes

static const bool has_fixed_range = false

Detailed Description

template<class UniRanGen, class IntType>
class scopira::tool::unismallint_dist< UniRanGen, IntType >

uniform integer distribution on a small range [min, max]

Author:
Aleksander Demko

Constructor & Destructor Documentation

template<class UniRanGen , class IntType >
scopira::tool::unismallint_dist< UniRanGen, IntType >::unismallint_dist ( base_type &  rng,
IntType  min,
IntType  max 
)

ctor

ctor for unismallint_dist


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