Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages   Examples  

Histo Class Reference
[Statistic]

Inherits Tally.


Detailed Description

Statistical analysis plus histogram.

Author:
Ralf Gerstenberger

Note:
Histo from ODEM

Histo supports Report

Histo computes a statistical analysis like Tally and also generates a histogram.

Since:
1.0


Public Member Functions

 Histo (Simulation *s, Label title, double low, double up, int n)
 Construction.

virtual ~Histo ()
 Destruction.

virtual void update (double v)
 Update statistics.

virtual void reset ()
 Reset statistics.

const TallygetTally ()
 Get Tally-statistics.

const std::vector< int > & getData ()
 Get histogram data.

int maximumelem ()
 Get highest value.

virtual void report (Report *r)
 Report generation.


Protected Attributes

double lower
double upper
int ncells
std::vector< int > data
int limit
double width


Constructor & Destructor Documentation

Histo Simulation s,
Label  title,
double  low,
double  up,
int  n
 

Construction.

Parameters:
s pointer to Simulation object
title label of this object
low lowest border
up highest border
n number of categories


Generated on Mon Aug 11 10:36:07 2003 for ODEMx by doxygen1.3