Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

CNHyperExp Class Reference

The class CNHyperExp is a class for generating hyperexponential distributed random numbers. More...

#include <HyperExp.h>

Inheritance diagram for CNHyperExp::

CNRandom CNObject CNCL List of all members.

Public Methods

virtual double operator() ()
 Draws a hyperexponential distributed random number.

 CNHyperExp ()
 Default Constructor.

 CNHyperExp (CNParam *param)
 Initializes CNHypeExp with CNPara.

 CNHyperExp (double p, double m1, double m2, CNRNG *gen)
 Initializes a CNHyperExp distribution with a base random number generator gen, the mixprobability p and the intensity parameters m1 and m2.

virtual CNClassDesc class_desc () const
 Returns the class description (pointer to instance of CNClass) for runtime type information.

virtual bool is_a (CNClassDesc desc) const
 Checks Type.

virtual void print (ostream &strm=cout) const
 Print output.

virtual void dump (ostream &strm=cout) const
 Debug output.


Static Public Methods

CNHyperExp * cast_from_object (CNObject *obj)
 Safes type Cast.

CNObjectnew_object (CNParam *param=NIL)
 Creates new Object.


Protected Attributes

double percent
 FIXME: Undocumented.

double tau1
 FIXME: Undocumented.

double tau2
 FIXME: Undocumented.


Detailed Description

The class CNHyperExp is a class for generating hyperexponential distributed random numbers.

CNHyperExp is a mixed distribution of two negative exponential distributions (H2).


The documentation for this class was generated from the following file:
Generated on Fri Feb 1 19:55:41 2002 for CNCL by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001