13 #ifndef mitkSimpleBarrierConstraintChecker_h
14 #define mitkSimpleBarrierConstraintChecker_h
50 itkFactorylessNewMacro(
Self);
121 PenaltyValueType m_MaxConstraintPenalty;
#define MITKMODELFIT_EXPORT
This class is the base class for constraint checker.
Superclass::PenaltyValueType PenaltyValueType
Superclass::ParametersType ParametersType
Superclass::PenaltyArrayType PenaltyArrayType
itk::Array< PenaltyValueType > PenaltyArrayType
itk::Array< double > SignalType
This class implements constraints as simple barrier functions.
unsigned int GetNumberOfConstraints() const override
const Constraint & GetConstraint(unsigned int index) const
Superclass::PenaltyArrayType PenaltyArrayType
void DeleteConstraint(unsigned int index)
itk::SmartPointer< Self > Pointer
Superclass::PenaltyValueType PenaltyValueType
ParametersType::SizeValueType ParameterIndexType
PenaltyArrayType GetPenalties(const ParametersType ¶meters) const override
PenaltyValueType CalcPenalty(const ParametersType ¶meters, const Constraint &constraint) const
std::vector< Constraint > ConstraintVectorType
Constraint & GetConstraint(unsigned int index)
void SetUpperBarrier(ParameterIndexType parameterID, BarrierValueType barrier, BarrierWidthType width=0.0)
void SetLowerBarrier(ParameterIndexType parameterID, BarrierValueType barrier, BarrierWidthType width=0.0)
ConstraintCheckerBase Superclass
itk::SmartPointer< const Self > ConstPointer
Superclass::ParametersType ParametersType
void SetUpperSumBarrier(const ParameterIndexVectorType ¶meterIDs, BarrierValueType barrier, BarrierWidthType width=0.0)
ConstraintVectorType m_Constraints
SimpleBarrierConstraintChecker Self
SimpleBarrierConstraintChecker()
~SimpleBarrierConstraintChecker() override
void SetLowerSumBarrier(const ParameterIndexVectorType ¶meterIDs, BarrierValueType barrier, BarrierWidthType width=0.0)
std::vector< ParameterIndexType > ParameterIndexVectorType
Superclass::SignalType SignalType
PenaltyValueType GetFailedConstraintValue() const override
Find image slices visible on a given plane.
ParameterIndexVectorType parameters