Eaagles::Basic::UniformRand Class Reference

Inherits Eaagles::Basic::LcRand.

Inheritance diagram for Eaagles::Basic::UniformRand:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UniformRand ()
double getMin ()
double getMax ()

Protected Member Functions

bool setMin (LcNumber *num)
bool setMax (LcNumber *num)
virtual void calculateNextRand ()

Private Attributes

LcNumbermin
LcNumbermax

Detailed Description

PseudoRandom Number Generator with a Uniform Distribution

    Form name: UniformRand
    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)
         Min:                The minimum bound. Default is 0.
         Max:                The Maximum bound. Default is 1.

    Output: (Min <= x <= Max) as a double via getNextRand(); method


Constructor & Destructor Documentation

Max Eaagles::Basic::UniformRand::UniformRand (  ) 


Member Function Documentation

double Eaagles::Basic::UniformRand::getMin (  ) 

double Eaagles::Basic::UniformRand::getMax (  ) 

bool Eaagles::Basic::UniformRand::setMin ( LcNumber num  )  [protected]

bool Eaagles::Basic::UniformRand::setMax ( LcNumber num  )  [protected]

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

Reimplemented from Eaagles::Basic::LcRand.


Member Data Documentation

LcNumber* Eaagles::Basic::UniformRand::min [private]

the Min.

LcNumber* Eaagles::Basic::UniformRand::max [private]

the Max.


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