10 #ifndef _CATTRIBUTE_FEATURES__H__
11 #define _CATTRIBUTE_FEATURES__H__
21 #ifndef DOXYGEN_SHOULD_SKIP_THIS
30 #endif // DOXYGEN_SHOULD_SKIP_THIS
93 virtual const char*
get_name()
const {
return "AttributeFeatures"; }
virtual EFeatureType get_feature_type() const =0
CFeatures * get_attribute(char *attr_name)
int32_t find_attr_index(char *attr_name)
void get_attribute_by_index(int idx, const char *&attr_name, CFeatures *&attr_obj)
virtual CFeatures * duplicate() const =0
bool set_attribute(char *attr_name, CFeatures *attr_obj)
virtual ~CAttributeFeatures()
virtual int32_t get_num_vectors() const =0
EFeatureClass
shogun feature class
virtual EFeatureClass get_feature_class() const =0
Implements attributed features, that is in the simplest case a number of (attribute, value) pairs.
int32_t get_num_attributes()
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.
bool del_attribute(char *attr_name)
virtual const char * get_name() const