CYCLUS
Loading...
Searching...
No Matches
cyclus::UniformIntDist Class Reference

Detailed Description

Definition at line 155 of file random_number_generator.h.

#include <random_number_generator.h>

Inheritance diagram for cyclus::UniformIntDist:
cyclus::IntDistribution

Public Types

typedef boost::shared_ptr< UniformIntDistPtr
 
- Public Types inherited from cyclus::IntDistribution
typedef boost::shared_ptr< IntDistributionPtr
 

Public Member Functions

virtual int max ()
 
virtual int sample ()
 
 UniformIntDist (int min=0, int max=1)
 

Member Typedef Documentation

◆ Ptr

Definition at line 159 of file random_number_generator.h.

Constructor & Destructor Documentation

◆ UniformIntDist()

cyclus::UniformIntDist::UniformIntDist ( int min = 0,
int max = 1 )
inline

Definition at line 161 of file random_number_generator.h.

Member Function Documentation

◆ max()

virtual int cyclus::UniformIntDist::max ( )
inlinevirtual

Definition at line 163 of file random_number_generator.h.

◆ sample()

virtual int cyclus::UniformIntDist::sample ( )
inlinevirtual

Implements cyclus::IntDistribution.

Definition at line 162 of file random_number_generator.h.


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