Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MODEL::BinProbe Class Template Reference

#include <binprobe.h>

Inheritance diagram for MODEL::BinProbe:

Inheritance graph
[legend]
Collaboration diagram for MODEL::BinProbe:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ODESystem<dims,nelem,
NT> 
system

Public Methods

 BinProbe (TimeFrame &T, const string &n, Bin &b, system &sys, integer v)
 ~BinProbe ()
virtual void print (ostream &out)
void probe (void)
 NO_COPY (BinProbe)

Private Attributes

system* my_sys
Binmy_b
integer var

Detailed Description

template<integer dims, typename nelem = number, class NT = NumericTraits<nelem,dims>> class MODEL::BinProbe

This class collects data for stochastic processes. It takes a bin as an input (so you can add to it if you want to), and writes out the bin at the end.

You just have to define ONE variable of which you would like a histogram, and the ODESystem you are talking about.

Also, as always, you need a timeframe and a filename.

Definition at line 38 of file binprobe.h.


Member Function Documentation

void print ( ostream & out ) [inline, virtual]
 

Implement this one to write the data. You can call it upon destruction of your derived object. Unfortunately, I have not yet figured out how to call a derived function inside a destructor (as a general rule, this is not possible: it will always call the local version. DUH. So it is implemented so people would be reminded

Reimplemented from MODEL::GenericProbe.

Definition at line 57 of file binprobe.h.


The documentation for this class was generated from the following file:
To get the sources or tarballs, please go to SourceForge or you can use the CVS repository.

More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be

Last update: June 2002.


Looking for Open Source? Check out SourceForge Logo !