class StatPercent : public BaseStat

Computes the percentage of times the record is called with a value greater than 0

Inheritance:


Inherited from BaseStat:

Public Methods

static void init(int n)
static void endRun(void) throw(StatExc)
static void newRun(void)
static void endSim(void)
static void setTransitory(Tick t)
static inline BaseStat* getHead(void)
virtual void record(double)
virtual void probe(Event *e)
virtual void attach(Entity *e) throw(StatExc)
inline string& getName(void)
inline double getValue(void)
double getMean(void) throw(StatExc)
double getVariance(void) throw(StatExc)

Protected Fields

string name
double val
vector exper
static Tick transitory
static bool initFlag

Protected Methods

inline void collect()
static double get_t_perc(double alpha)
static void calc_t(int n)
double t_student(int alfa, int dol)

Documentation

Computes the percentage of times the record is called with a value greater than 0. For example, if record is called as: record(1), record(1), record(0), the value is 2/3.

This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

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