namespace generator class GenParam Generation parameter class.
The GenParam class holds a generation parameter. The parameters may have string or numeric values, and may take random values. Random parameters are reset by calls to sampleParameter() according to one of the following distributions:
Name Distribution step(<min>,<max>,<inc>) Step from <min> to <max> by <inc> xstep(<min>,<max>,<fact>) Step from <min> to <max> by factors of <fact> flat(<min>,<max>) Flat distribution in range <min> - <max> gauss(<mean>,<sigma>) Gaussian distribution with mean <mean> and sigma <sigma> power(N,<min>,<max>) in range <min> - <max>
exp(b,<min>,<max>) in range <min> - <max>
enum DistType
GenParam(void)
~GenParam(void)
std::ostream& dump(std::ostream& out) const
static DistType getDistID(const std::string& name)
static const char* getDistName(DistType id)
const char* getString(void) const
double getNumeric(void) const
bool isConst(void) const
bool isStep(void) const
bool atStart(void) const
double sampleParameter(void)
void setDistribution(const std::string& value)
void setParameter(double value)
void setParameter(const std::string& value)
alphabetic index hierarchy of classes
generated by doc++