21 #ifndef otbDecisionTree_h
22 #define otbDecisionTree_h
25 #include "itkObjectFactory.h"
26 #include "itkDataObject.h"
60 template <
class AttributeValueType,
class LabelType>
86 typedef typename std::pair<AttributeValueType, DecisionTreeTestType>
KeyType;
91 itkSetMacro(Attribute,
unsigned int);
92 itkGetMacro(Attribute,
unsigned int);
99 void AddBranch(AttributeValueType attr,
Pointer branch);
106 void AddBranch(AttributeValueType attr, LabelType label);
120 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
124 void operator=(
const Self&) =
delete;
142 #ifndef OTB_MANUAL_INSTANTIATION