The class DummyFeatures implements features that only know the number of feature objects (but don't actually contain any).
This is used in the CCustomKernel.
Definition at line 23 of file DummyFeatures.h.
Public Member Functions | |
CDummyFeatures (int32_t num) | |
CDummyFeatures (const CDummyFeatures &orig) | |
virtual | ~CDummyFeatures () |
virtual int32_t | get_num_vectors () |
virtual int32_t | get_size () |
virtual CFeatures * | duplicate () const |
EFeatureType | get_feature_type () |
virtual EFeatureClass | get_feature_class () |
virtual const char * | get_name () const |
Protected Attributes | |
int32_t | num_vectors |
CDummyFeatures | ( | int32_t | num | ) |
constructor
num | number of feature vectors |
Definition at line 30 of file DummyFeatures.h.
CDummyFeatures | ( | const CDummyFeatures & | orig | ) |
copy constructor
Definition at line 35 of file DummyFeatures.h.
virtual ~CDummyFeatures | ( | ) | [virtual] |
destructor
Definition at line 41 of file DummyFeatures.h.
virtual CFeatures* duplicate | ( | ) | const [virtual] |
virtual EFeatureClass get_feature_class | ( | ) | [virtual] |
EFeatureType get_feature_type | ( | ) | [virtual] |
virtual const char* get_name | ( | ) | const [virtual] |
virtual int32_t get_num_vectors | ( | ) | [virtual] |
virtual int32_t get_size | ( | ) | [virtual] |
get size of features (always 1)
Implements CFeatures.
Definition at line 52 of file DummyFeatures.h.
int32_t num_vectors [protected] |
number of feature vectors
Definition at line 80 of file DummyFeatures.h.