![]() |
Computer Assited Medical Intervention Tool Kit
version 4.0
|
A TimePeriodThreshold method is a method where individualTest is true when the tested double is true during a time period defined by a number of iterations. More...
#include <TimePeriodThreshold.h>
Inherits Method.
Public Member Functions | |
| bool | individualTest (double tested) |
| return true if tested <= value More... | |
| TimePeriodThreshold (mml::TimePeriodThreshold *m) | |
| constructor More... | |
| std::string | toString () |
| get Method name More... | |
| ~TimePeriodThreshold () | |
| destructor More... | |
Public Member Functions inherited from Method | |
| Method (mml::Method *m) | |
| constructor More... | |
| std::string | scopeTosString () |
| get a String of the scope More... | |
| virtual bool | test (std::vector< double > &values) |
| return true if the vector of fouble values passed the test (see scope) More... | |
| virtual | ~Method () |
| destructor More... | |
Private Attributes | |
| int | increment |
| Needed to keep an eye on consecutive win. More... | |
| int | iterations |
| number of iterations defining the time period More... | |
| mml::TimePeriodThreshold * | mappedObject |
| the xsdcxx object representing TimePeriodThreshold, used for serialization More... | |
| double | value |
| value of the threshold More... | |
Additional Inherited Members | |
Public Types inherited from Method | |
| enum | ScopeType { Any, Average, Sum, None } |
| the scope of the method More... | |
Protected Attributes inherited from Method | |
| ScopeType | scope |
| scope of the method Any: test is true if all indivitual test are true in the values vector Average: test is true if the indivudal test of values vector's average is true Sum: test is true if the indivudal test of the sum of all double of the values vector is true None: used for monitor wich are not applied to a structural component (ex: time) More... | |
A TimePeriodThreshold method is a method where individualTest is true when the tested double is true during a time period defined by a number of iterations.
| TimePeriodThreshold::TimePeriodThreshold | ( | mml::TimePeriodThreshold * | m | ) |
constructor
| the | xsdcxx generated TimePeriodThreshold class |
References increment, iterations, and value.
| TimePeriodThreshold::~TimePeriodThreshold | ( | ) |
destructor
|
virtual |
|
virtual |
|
private |
Needed to keep an eye on consecutive win.
Referenced by individualTest(), and TimePeriodThreshold().
|
private |
number of iterations defining the time period
Referenced by individualTest(), and TimePeriodThreshold().
|
private |
the xsdcxx object representing TimePeriodThreshold, used for serialization
|
private |
value of the threshold
Referenced by individualTest(), TimePeriodThreshold(), and toString().
1.8.11