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