Eaagles::Basic::ExponentialRand Class Reference

Inherits Eaagles::Basic::LcRand.

Inheritance diagram for Eaagles::Basic::ExponentialRand:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::Basic::ExponentialRand:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ExponentialRand ()
double getMean ()

Protected Member Functions

bool setMean (LcNumber *num)
virtual void calculateNextRand ()

Private Attributes

LcNumbermean

Detailed Description

PseudoRandom Number Generator with Exponential Distribution.
         Exponential Distribution generated from Uniform Distribution
         using method in "Simulation Modeling & Analysis 2nd Ed."
         by Law & Kelton pp. 486

    Form name: ExponentialRand
    Slots: (I: inherited)
     (I) Seed:               the seed to start the random number generator
     (I) Antithetic:         boolean (true is x>0) for antithetic operation (return 1-U instead of U)
     (I) IncreasedPrecision: boolean (true is x>0) for using increased precision (53bit double)
         Mean:               The Mean.

    Output: (x=?) as a double via getNextRand(); method


Constructor & Destructor Documentation

Mean Eaagles::Basic::ExponentialRand::ExponentialRand (  ) 


Member Function Documentation

double Eaagles::Basic::ExponentialRand::getMean (  ) 

bool Eaagles::Basic::ExponentialRand::setMean ( LcNumber num  )  [protected]

void Eaagles::Basic::ExponentialRand::calculateNextRand (  )  [protected, virtual]

Reimplemented from Eaagles::Basic::LcRand.


Member Data Documentation

LcNumber* Eaagles::Basic::ExponentialRand::mean [private]


Generated on Tue Dec 19 16:26:23 2006 for Eaagles by  doxygen 1.5.0