20 #ifndef MIRTK_MinActiveStoppingCriterion_H 21 #define MIRTK_MinActiveStoppingCriterion_H 23 #include "mirtk/StoppingCriterion.h" 40 mirtkPublicAttributeMacro(
double, Threshold);
44 mirtkReadOnlyAttributeMacro(
int, StreakOfPassiveIterations);
47 mirtkReadOnlyAttributeMacro(
double, Active);
84 virtual bool Fulfilled(
int iter,
double value,
const double *delta);
97 virtual void Print(ostream &)
const;
104 #endif // MIRTK_MinActiveStoppingCriterion_H virtual ~MinActiveStoppingCriterion()
Destructor.
virtual void Initialize()
Initialize stopping criterion after input and parameters are set.
virtual void Print(ostream &) const
MinActiveStoppingCriterion & operator=(const MinActiveStoppingCriterion &)
Assignment operator.
MinActiveStoppingCriterion(const ObjectiveFunction *=NULL)
Constructor.
virtual bool Fulfilled(int iter, double value, const double *delta)
virtual StoppingCriterion * New() const
Create new copy of this instance.