Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

PMMMLCG Class Reference

#include <pmmmlcg.h>

Inheritance diagram for PMMMLCG::

RandomNG List of all members.

Public Methods

 PMMMLCG ()
virtual void seed (uint32 s)
virtual void timeSeed ()
virtual double getRandom ()
virtual int getRandom (int from, int to)

Protected Attributes

double temp

Static Protected Attributes

long rseed

Constructor & Destructor Documentation

PMMMLCG::PMMMLCG ( ) [inline]
 

Definition at line 33 of file pmmmlcg.h.

00033 {temp = 1.0 / (double) __PMMMLCG_M;}


Member Function Documentation

virtual int PMMMLCG::getRandom ( int from,
int to ) [virtual]
 

Reimplemented from RandomNG.

virtual double PMMMLCG::getRandom ( ) [virtual]
 

Reimplemented from RandomNG.

void PMMMLCG::seed ( uint32 s ) [inline, virtual]
 

Reimplemented from RandomNG.

Definition at line 35 of file pmmmlcg.h.

00035 {rseed = s;}

virtual void PMMMLCG::timeSeed ( ) [virtual]
 

Reimplemented from RandomNG.


Member Data Documentation

long PMMMLCG::rseed [static, protected]
 

Definition at line 28 of file pmmmlcg.h.

double PMMMLCG::temp [protected]
 

Definition at line 29 of file pmmmlcg.h.


The documentation for this class was generated from the following file:
Generated at Wed May 9 14:01:09 2001 for FlowReact by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001