26 #ifndef STOPPINGCRITERION_STOPPINGCRITERIA_CRITERIA_H
27 #define STOPPINGCRITERION_STOPPINGCRITERIA_CRITERIA_H
33 #include <MonitorIn.hxx>
70 std::string getMethodString();
73 std::string scopeToString();
#define MML_API
Definition: MMLAPI.h:43
Class which represents a simple criterion A criterion can be checked using checkCriterion method to k...
Definition: Criterion.h:47
std::string unit
unit
Definition: Criterion.h:89
virtual void calculate()=0
calculate stopping criteria data and store it into values vector
std::string getName() override=0
get stopping criterion name
std::vector< double > values
vector that stores current data of the stopping criteria
Definition: Criterion.h:81
mml::Criteria * mappedObject
the xsdcxx object representing criterion, used for serialization
Definition: Criterion.h:87
Method * meth
the computationnal method used to check if criterion is true
Definition: Criterion.h:77
double factor
factor to multiplate for conversion to SI
Definition: Criterion.h:79
A Method represent how to make the boolean assessment with criteria data (a vector of double)
Definition: Method.h:42
Manager of the benchmark tests.
Definition: MonitoringManager.h:50
class which represents a multiple criterion a multiple criterion is either an OrMUltipleCriterion or ...
Definition: MultipleCriterion.h:45
class which represent the stopping criterion to check to stop simulation a StoppingCriterion is eithe...
Definition: StoppingCriterion.h:48
virtual bool checkCriterion()=0
return true if the stopping criterion is reach
virtual int getNumberOfChildren()=0
get number of childre; return -1 for non multiple criteria
virtual StoppingCriterion * getChild(const unsigned int i)=0
get the child repered by index, return nullptr if no child