|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
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
@ None
Definition: Method.h:80
virtual bool individualTest(double tested)=0
return true if the double passed the test
std::string scopeTosString()
get a String of the scope
Definition: Method.cpp:90
@ Average
Definition: Method.h:78
@ Sum
Definition: Method.h:79
Method(mml::Method *m)
constructor
Definition: Method.cpp:34
ScopeType
the scope of the method
Definition: Method.h:76
virtual bool test(std::vector< double > &values)
return true if the vector of fouble values passed the test (see scope)
Definition: Method.cpp:56
@ Any
Definition: Method.h:77
virtual ~Method()=default
destructor
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:104
virtual std::string toString()=0
get Method name
A Method represent how to make the boolean assessment with criteria data (a vector of double)
Definition: Method.h:42