A Threshold method is a method where individualTest is true is the tested double is superior or equal to a fixed value.
More...
#include <MinThreshold.h>
|
bool | individualTest (double tested) override |
| return true if tested >= value
|
|
| MinThreshold (mml::MinThreshold *m) |
| constructor
|
|
std::string | toString () override |
| get Method name
|
|
| ~MinThreshold () override=default |
| destructor
|
|
| Method (mml::Method *m) |
| constructor
|
|
std::string | scopeTosString () |
| get a String of the scope
|
|
virtual bool | test (std::vector< double > &values) |
| return true if the vector of fouble values passed the test (see scope)
|
|
virtual | ~Method ()=default |
| destructor
|
|
|
enum | ScopeType { Any
, Average
, Sum
, None
} |
| the scope of the method More...
|
|
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)
|
|
A Threshold method is a method where individualTest is true is the tested double is superior or equal to a fixed value.
◆ MinThreshold()
MinThreshold::MinThreshold |
( |
mml::MinThreshold * |
m | ) |
|
◆ ~MinThreshold()
MinThreshold::~MinThreshold |
( |
| ) |
|
|
overridedefault |
◆ individualTest()
bool MinThreshold::individualTest |
( |
double |
tested | ) |
|
|
overridevirtual |
return true if tested >= value
Implements Method.
◆ toString()
std::string MinThreshold::toString |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: