18 #ifndef itkClassifierBase_h
19 #define itkClassifierBase_h
86 template <
typename TDataContainer>
100 itkSetMacro(NumberOfClasses,
unsigned int);
103 itkGetConstReferenceMacro(NumberOfClasses,
unsigned int);
123 m_DecisionRule = ptrToDecisionRule;
130 return m_DecisionRule.GetPointer();
137 const MembershipFunctionType *
140 return m_MembershipFunctions[index].GetPointer();
147 return static_cast<unsigned int>(m_MembershipFunctions.size());
152 AddMembershipFunction(MembershipFunctionType *
function);
162 PrintSelf(std::ostream & os,
Indent indent)
const override;
167 GenerateData()
override = 0;
171 unsigned int m_NumberOfClasses{};
181 #ifndef ITK_MANUAL_INSTANTIATION
182 # include "itkClassifierBase.hxx"