27 #ifndef STOPPINGCRITERION_STOPPINGCRITERIA_METHOD_H 28 #define STOPPINGCRITERION_STOPPINGCRITERIA_METHOD_H 32 #include <MonitorIn.hxx> 33 #include <MonitoringModel.hxx> 62 virtual bool test(std::vector<double>& values);
84 #endif // STOPPINGCRITERION_STOPPINGCRITERIA_METHOD_H virtual std::string toString()=0
get Method name
virtual ~Method()=default
destructor
virtual bool test(std::vector< double > &values)
return true if the vector of fouble values passed the test (see scope)
Definition: Method.cpp:56
A Method represent how to make the boolean assessment with criteria data (a vector of double) ...
Definition: Method.h:42
ScopeType scope
scope of the method Any: test is true if all indivitual test are true in the values vector Average: t...
Definition: Method.h:81
virtual bool individualTest(double tested)=0
return true if the double passed the test
Method(mml::Method *m)
constructor
Definition: Method.cpp:34
ScopeType
the scope of the method
Definition: Method.h:53
std::string scopeTosString()
get a String of the scope
Definition: Method.cpp:90