27 #ifndef STOPPINGCRITERION_STOPPINGCRITERIA_METHODS_TIMEPERIODTHRESHOLD_H
28 #define STOPPINGCRITERION_STOPPINGCRITERIA_METHODS_TIMEPERIODTHRESHOLD_H
30 #include <MonitorIn.hxx>
A Method represent how to make the boolean assessment with criteria data (a vector of double)
Definition: Method.h:42
A TimePeriodThreshold method is a method where individualTest is true when the tested double is true ...
Definition: TimePeriodThreshold.h:41
bool individualTest(double tested) override
return true if tested <= value
Definition: TimePeriodThreshold.cpp:36
~TimePeriodThreshold() override=default
destructor
int increment
Needed to keep an eye on consecutive win.
Definition: TimePeriodThreshold.h:66
std::string toString() override
get Method name
Definition: TimePeriodThreshold.cpp:47
double value
value of the threshold
Definition: TimePeriodThreshold.h:60
TimePeriodThreshold(mml::TimePeriodThreshold *m)
constructor
Definition: TimePeriodThreshold.cpp:29
int iterations
number of iterations defining the time period
Definition: TimePeriodThreshold.h:63