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

#include <eosim/statics/timeweighted.hpp>

Inheritance diagram for eosim::statics::TimeWeighted:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Time Weighted Histogram.

Author:
Sebastián Alaggia
Version:
1.1.0
Date:
2005
This kind of histogram shows the values reached by response variables, and the time these values sustain. Basically it defines a observed value vs. time observed chart (how much time a variable sustained a given value throughout the simulation).


Public Member Functions

 TimeWeighted (std::string name, core::Model &m)
 The constructor of TimeWeighted; the kind of histogram is appended at the end of the name. The model passed as an argument is the one which will be used to get the time values needed to log data in this histograms.
void log (double v)
 This operation log a value in the histogram.


Member Function Documentation

void TimeWeighted::log ( double  v  ) 

This operation log a value in the histogram.

Note:
The value is logged with the amount of time it sustained. This amount of time is automatically calculated and updated.


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