A Threshold method is a method where individualTest is true is the tested double is inferior or equal to a fixed value.
More...
#include <Threshold.h>
|
bool | individualTest (double tested) override |
| return true if tested <= value
|
|
| Threshold (mml::Threshold *m) |
| constructor
|
|
std::string | toString () override |
| get Method name
|
|
| ~Threshold () 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 inferior or equal to a fixed value.
◆ Threshold()
Threshold::Threshold |
( |
mml::Threshold * |
m | ) |
|
◆ ~Threshold()
Threshold::~Threshold |
( |
| ) |
|
|
overridedefault |
◆ individualTest()
bool Threshold::individualTest |
( |
double |
tested | ) |
|
|
overridevirtual |
return true if tested <= value
Implements Method.
◆ toString()
std::string Threshold::toString |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: