OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Types | Public Member Functions | Private Attributes | List of all members
RNGBitReverse Class Reference

#include <RNGBitReverse.h>

Public Types

typedef double Return_t
 

Public Member Functions

 RNGBitReverse (unsigned int base=2, unsigned long seed=1)
 
 RNGBitReverse (const RNGBitReverse &brg)
 
 ~RNGBitReverse (void)
 
void AdvanceSeed (unsigned long n=0)
 
void SetSeed (unsigned long seed)
 
void SetBase (unsigned int base)
 
unsigned long GetSeed (void) const
 
unsigned int GetBase (void) const
 
Return_t GetRandom (void) const
 
Return_t operator() (void) const
 
 operator Return_t () const
 

Private Attributes

unsigned int Base
 
unsigned long Seed
 

Detailed Description

Definition at line 41 of file RNGBitReverse.h.

Member Typedef Documentation

typedef double RNGBitReverse::Return_t

Definition at line 45 of file RNGBitReverse.h.

Constructor & Destructor Documentation

RNGBitReverse::RNGBitReverse ( unsigned int  base = 2,
unsigned long  seed = 1 
)
inline

Definition at line 49 of file RNGBitReverse.h.

RNGBitReverse::RNGBitReverse ( const RNGBitReverse brg)
inline

Definition at line 53 of file RNGBitReverse.h.

RNGBitReverse::~RNGBitReverse ( void  )
inline

Definition at line 57 of file RNGBitReverse.h.

Member Function Documentation

void RNGBitReverse::AdvanceSeed ( unsigned long  n = 0)
inline

Definition at line 60 of file RNGBitReverse.h.

References Hypervolume::n, and Seed.

unsigned int RNGBitReverse::GetBase ( void  ) const
inline

Definition at line 72 of file RNGBitReverse.h.

References Base.

Return_t RNGBitReverse::GetRandom ( void  ) const
inline

Definition at line 75 of file RNGBitReverse.h.

References Base, and Seed.

Referenced by operator Return_t(), and operator()().

unsigned long RNGBitReverse::GetSeed ( void  ) const
inline

Definition at line 69 of file RNGBitReverse.h.

References Seed.

RNGBitReverse::operator Return_t ( ) const
inline

Definition at line 94 of file RNGBitReverse.h.

References GetRandom().

Here is the call graph for this function:

Return_t RNGBitReverse::operator() ( void  ) const
inline

Definition at line 91 of file RNGBitReverse.h.

References GetRandom().

Here is the call graph for this function:

void RNGBitReverse::SetBase ( unsigned int  base)
inline

Definition at line 66 of file RNGBitReverse.h.

References Base.

void RNGBitReverse::SetSeed ( unsigned long  seed)
inline

Definition at line 63 of file RNGBitReverse.h.

References Options::seed, and Seed.

Member Data Documentation

unsigned int RNGBitReverse::Base
private

Definition at line 98 of file RNGBitReverse.h.

Referenced by GetBase(), GetRandom(), and SetBase().

unsigned long RNGBitReverse::Seed
mutableprivate

Definition at line 99 of file RNGBitReverse.h.

Referenced by AdvanceSeed(), GetRandom(), GetSeed(), and SetSeed().


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