20 #ifndef MIRTK_StoppingCriterion_H 21 #define MIRTK_StoppingCriterion_H 23 #include "mirtk/Object.h" 24 #include "mirtk/ObjectiveFunction.h" 101 virtual bool Fulfilled(
int iter,
double value,
const double *delta) = 0;
114 virtual void Print(ostream &)
const;
121 #endif // MIRTK_StoppingCriterion_H virtual void Print(ostream &) const
virtual bool Fulfilled(int iter, double value, const double *delta)=0
StoppingCriterion & operator=(const StoppingCriterion &)
Assignment operator.
StoppingCriterion(const ObjectiveFunction *=NULL)
Constructor.
virtual ~StoppingCriterion()
Destructor.
virtual void Initialize()
Initialize stopping criterion after input and parameters are set.
virtual StoppingCriterion * New() const =0
Create new copy of this instance.