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