27 #ifndef STOPPINGCRITERION_STOPPINGCRITERION_H
28 #define STOPPINGCRITERION_STOPPINGCRITERION_H
34 #include <MonitorIn.hxx>
#define MML_API
Definition: MMLAPI.h:43
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()=default
destructor
virtual std::string getName()=0
get stopping criterion name
MultipleCriterion * parent
parent stopping Criterion
Definition: StoppingCriterion.h:76
MonitoringManager * monitoringManager
monitoring manager
Definition: StoppingCriterion.h:74
virtual StoppingCriterion * getChild(const unsigned int i)=0
get the child repered by index, return nullptr if no child