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

MODEL::DwellProbe Class Template Reference

#include <dwellprobe.h>

Inheritance diagram for MODEL::DwellProbe:

Inheritance graph
Collaboration diagram for MODEL::DwellProbe:

Collaboration graph
List of all members.

Public Types

typedef ODESystem<dims,nelem,

Public Methods

 DwellProbe (TimeFrame &T, const string &n, system &sys, integer v, number threshold, number range)
 DwellProbe (TimeFrame &T, ostream &o, system &sys, integer v, number threshold, number range)
const number& switches (void)
void probe (void)
 NO_COPY (DwellProbe)

Private Attributes

system* my_sys
integer var
number th
number ra
number avgn
bool more_or_less
number last_t

Detailed Description

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

This class collects dwell times. You provide ONE variable for which you want dwell times, and the ODESystem you are talking about.

It then just compares the value to the previous value and the (provided) threshold level and determines if a switch has happened since last time. If so, it writes out a data point.

This one uses Probe, not GenericProbe.

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

Definition at line 41 of file dwellprobe.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:

Last update: June 2002.

Looking for Open Source? Check out SourceForge Logo !