10 #ifndef _CATTRIBUTE_FEATURES__H__ 11 #define _CATTRIBUTE_FEATURES__H__ 19 #ifndef DOXYGEN_SHOULD_SKIP_THIS 28 #endif // DOXYGEN_SHOULD_SKIP_THIS 59 CFeatures* get_attribute(
char* attr_name);
67 void get_attribute_by_index(
int idx,
const char* &attr_name,
CFeatures* &attr_obj);
75 bool set_attribute(
char* attr_name,
CFeatures* attr_obj);
82 bool del_attribute(
char* attr_name);
88 int32_t get_num_attributes();
91 virtual const char*
get_name()
const {
return "AttributeFeatures"; }
123 virtual int32_t get_num_vectors()
const=0;
131 inline int32_t find_attr_index(
char* attr_name);
EFeatureClass
shogun feature class
Implements attributed features, that is in the simplest case a number of (attribute, value) pairs.
EFeatureType
shogun feature type
all of classes and functions are contained in the shogun namespace
DynArray< T_ATTRIBUTE > features
list of attributes (sorted)
The class Features is the base class of all feature objects.
virtual const char * get_name() const