#include <dwellprobe.h>
Inheritance diagram for MODEL::DwellProbe:


Public Types | |
|
typedef ODESystem<dims,nelem, NT> | system |
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 |
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.
More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be
Last update: June 2002.