13 #ifndef mitkMVConstrainedCostFunctionDecorator_h
14 #define mitkMVConstrainedCostFunctionDecorator_h
59 itkSetMacro(ActivateFailureThreshold,
bool);
60 itkGetConstMacro(ActivateFailureThreshold,
bool);
64 itkGetConstMacro(EvaluationCount,
unsigned int);
82 m_EvaluationCount(0), m_PenaltyCount(0), m_FailureCount(0), m_LastFailedParameter(-1)
#define MITKMODELFIT_EXPORT
Base class for constraint checkers used in model fitting.
Superclass::PenaltyValueType PenaltyValueType
This class is used to add constraints to any multi valued model fit cost function.
~MVConstrainedCostFunctionDecorator() override
mitk::MVModelFitCostFunction Superclass
Superclass::SignalType SignalType
ParametersType::size_type GetFailedParameter() const
MVConstrainedCostFunctionDecorator()
bool m_ActivateFailureThreshold
ParametersType::size_type m_LastFailedParameter
ConstraintCheckerBase::PenaltyValueType PenaltyValueType
unsigned int m_FailureCount
unsigned int m_EvaluationCount
unsigned int m_PenaltyCount
double GetFailureRatio() const
double GetPenaltyRatio() const
PenaltyValueType m_FailureThreshold
MeasureType CalcMeasure(const ParametersType ¶meters, const SignalType &signal) const override
MVModelFitCostFunction::ConstPointer m_WrappedCostFunction
itk::SmartPointer< Self > Pointer
ConstraintCheckerBase::ConstPointer m_ConstraintChecker
MVConstrainedCostFunctionDecorator Self
itk::SmartPointer< const Self > ConstPointer
Base class for all model fit cost functions that return a vector of cost values.
Superclass::MeasureType MeasureType
ModelFitCostFunctionInterface::SignalType SignalType
Interface class that is implemented by all cost functions used in model fitting.
itk::Array< double > SignalType
Type representing the observed signal values.
Find image slices visible on a given plane.