class <RandomVariable/Empirical> EmpiricalRandomVariable : public RandomVariable


Inheritance:


Public Methods

EmpiricalRandomVariable()
virtual double interpolate(double u, double x1, double y1, double x2, double y2)
double& maxCDF()
double& minCDF()
virtual double value()

Protected Fields

int interpolation_
how to interpolate data (INTER_DISCRETE...)
double maxCDF_
max value of the CDF (default to 1)
int maxEntry_
size of the CDF table (mem allocation)
double minCDF_
min value of the CDF (default to 0)
int numEntry_
number of entries in the CDF table
CDFentry* table_
CDF table of (val_, cdf_)

Protected Methods

int command(int argc, const char*const* argv)
int loadCDF(const char* filename)
int lookup(double u)

Inherited from RandomVariable:

Protected Fields

RNG* rng_

Documentation

virtual double value()

virtual double interpolate(double u, double x1, double y1, double x2, double y2)

EmpiricalRandomVariable()

double& minCDF()

double& maxCDF()

int command(int argc, const char*const* argv)

int loadCDF(const char* filename)

int lookup(double u)

double minCDF_
min value of the CDF (default to 0)

double maxCDF_
max value of the CDF (default to 1)

int interpolation_
how to interpolate data (INTER_DISCRETE...)

int numEntry_
number of entries in the CDF table

int maxEntry_
size of the CDF table (mem allocation)

CDFentry* table_
CDF table of (val_, cdf_)


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de