lux::random::RandomGenerator Class Reference

#include <randomgen.h>

List of all members.

Public Member Functions

 RandomGenerator ()
 ~RandomGenerator ()
void taus113_set (unsigned long int s)
unsigned long nobuf_generateUInt ()
unsigned long generateUInt ()
 RandomGenerator ()
 ~RandomGenerator ()
void taus113_set (unsigned long int s)
unsigned long nobuf_generateUInt ()
unsigned long generateUInt ()

Private Attributes

unsigned long int z1
unsigned long int z2
unsigned long int z3
unsigned long int z4
unsigned long int * buf
int bufid


Detailed Description

Definition at line 60 of file luxlex.l.


Constructor & Destructor Documentation

lux::random::RandomGenerator::RandomGenerator (  )  [inline]

Definition at line 63 of file luxlex.l.

lux::random::RandomGenerator::~RandomGenerator (  )  [inline]

Definition at line 69 of file luxlex.l.

lux::random::RandomGenerator::RandomGenerator (  )  [inline]

Definition at line 62 of file randomgen.h.

References lux::AllocAligned(), buf, bufid, and RAN_BUFFER_AMOUNT.

lux::random::RandomGenerator::~RandomGenerator (  )  [inline]

Definition at line 68 of file randomgen.h.

References buf, and lux::FreeAligned().


Member Function Documentation

unsigned long lux::random::RandomGenerator::generateUInt (  )  [inline]

Definition at line 98 of file randomgen.h.

References buf, bufid, nobuf_generateUInt(), and RAN_BUFFER_AMOUNT.

unsigned long lux::random::RandomGenerator::generateUInt (  )  [inline]

Definition at line 99 of file luxlex.l.

unsigned long lux::random::RandomGenerator::nobuf_generateUInt (  )  [inline]

Definition at line 82 of file randomgen.h.

References MASK, z1, z2, z3, and z4.

unsigned long lux::random::RandomGenerator::nobuf_generateUInt (  )  [inline]

Definition at line 83 of file luxlex.l.

References LUX_NOFILE, LUX_SEVERE, and luxError.

Referenced by generateUInt(), and taus113_set().

void lux::random::RandomGenerator::taus113_set ( unsigned long int  s  )  [inline]

Definition at line 70 of file randomgen.h.

References LCG, nobuf_generateUInt(), z1, z2, z3, and z4.

void lux::random::RandomGenerator::taus113_set ( unsigned long int  s  )  [inline]

Definition at line 71 of file luxlex.l.


Member Data Documentation

unsigned long int * lux::random::RandomGenerator::buf [private]

Definition at line 114 of file luxlex.l.

Referenced by generateUInt(), RandomGenerator(), and ~RandomGenerator().

Definition at line 115 of file luxlex.l.

Referenced by generateUInt(), and RandomGenerator().

unsigned long int lux::random::RandomGenerator::z1 [private]

Definition at line 113 of file luxlex.l.

Referenced by nobuf_generateUInt(), and taus113_set().

unsigned long int lux::random::RandomGenerator::z2 [private]

Definition at line 113 of file luxlex.l.

Referenced by nobuf_generateUInt(), and taus113_set().

unsigned long int lux::random::RandomGenerator::z3 [private]

Definition at line 113 of file luxlex.l.

Referenced by nobuf_generateUInt(), and taus113_set().

unsigned long int lux::random::RandomGenerator::z4 [private]

Definition at line 113 of file luxlex.l.

Referenced by nobuf_generateUInt(), and taus113_set().


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

Generated on Fri Jul 24 11:52:05 2009 for lux by  doxygen 1.5.9