eosim::statics::Observation Class Reference
[Data Collectors]

#include <eosim/statics/observation.hpp>

Inheritance diagram for eosim::statics::Observation:

Inheritance graph
[legend]
Collaboration diagram for eosim::statics::Observation:

Collaboration graph
[legend]
List of all members.

Detailed Description

Observation Histogram.

Author:
Sebastián Alaggia
Version:
1.1.0
Date:
2005
This is histograms is used to store values of discrete observations, such us waitting times. Basically it defines a observed value vs. quantity of observations chart (counts the number of times a value was observed).


Public Member Functions

 Observation (std::string name)
 The constructor of Observation; the kind of histogram is appended at the end of the name.
void log (double value)
 This operation log a value in the histogram.


Member Function Documentation

void Observation::log ( double  value  ) 

This operation log a value in the histogram.

Note:
This operation increments by one the observations of value. For larger increments, perform multiple logs.


Generated on Tue Oct 14 16:49:04 2008 for EOSimulator by  doxygen 1.5.2