#include <InflationStoppingCriterion.h>
Public Member Functions | |
virtual bool | Fulfilled (int iter, double value, const double *delta) |
InflationStoppingCriterion (const ObjectiveFunction *=NULL) | |
Constructor. | |
InflationStoppingCriterion (const InflationStoppingCriterion &) | |
Copy constructor. | |
virtual StoppingCriterion * | New () const |
Create new copy of this instance. | |
InflationStoppingCriterion & | operator= (const InflationStoppingCriterion &) |
Assignment operator. | |
virtual void | Print (ostream &) const |
virtual | ~InflationStoppingCriterion () |
Destructor. | |
Public Member Functions inherited from mirtk::StoppingCriterion | |
virtual void | Initialize () |
Initialize stopping criterion after input and parameters are set. | |
virtual | ~StoppingCriterion () |
Destructor. | |
Public Member Functions inherited from mirtk::Object | |
virtual const char * | NameOfClass () const =0 |
Get name of class, which this object is an instance of. | |
virtual ParameterList | Parameter () const |
Get parameter name/value pairs. | |
bool | Parameter (const ParameterList &) |
Set parameters from name/value pairs. | |
virtual bool | Set (const char *name, const char *value) |
virtual | ~Object () |
Destructor. | |
Additional Inherited Members | |
Static Public Member Functions inherited from mirtk::Object | |
static const char * | NameOfType () |
Get name of this class type. | |
Protected Member Functions inherited from mirtk::StoppingCriterion | |
StoppingCriterion & | operator= (const StoppingCriterion &) |
Assignment operator. | |
StoppingCriterion (const ObjectiveFunction *=NULL) | |
Constructor. | |
StoppingCriterion (const LocalOptimizer *) | |
Constructor. | |
StoppingCriterion (const StoppingCriterion &) | |
Copy constructor. | |
Protected Member Functions inherited from mirtk::Object | |
template<typename... Args> | |
void | Throw (ErrorType err, const char *func, Args... args) const |
Static Protected Member Functions inherited from mirtk::Object | |
template<typename... Args> | |
static void | ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args) |
Stopping criterion for cortical surface inflation
Definition at line 32 of file InflationStoppingCriterion.h.
|
virtual |
Test surface inflation stopping criterion
Fischl et al., Cortical Surface-Based Analysis II: Inflation, Flattening, and a Surface-Based Coordinate System. NeuroImage, 9(2), 195–207 (1999).
[in] | iter | Current number of iterations (unused). |
[in] | value | Objective function value at currentiteration (unused). |
[in] | delta | Last change of objective function parameters (unused). |
Implements mirtk::StoppingCriterion.
|
virtual |
Print current stopping criterion status / value
This function must be called after Fulfilled, which should update any cached values that are needed by this function to avoid a costly reevaluation of the stopping criterion.
Reimplemented from mirtk::StoppingCriterion.