Public Member Functions | |
CRealFeatures (int32_t size=0) | |
CRealFeatures (const CRealFeatures &orig) | |
CRealFeatures (float64_t *src, int32_t num_feat, int32_t num_vec) | |
CRealFeatures (char *fname) | |
bool | Align_char_features (CCharFeatures *cf, CCharFeatures *Ref, float64_t gapCost) |
virtual void | get_fm (float64_t **dst, int32_t *d1, int32_t *d2) |
virtual void | copy_feature_matrix (float64_t *src, int32_t num_feat, int32_t num_vec) |
virtual bool | load (char *fname) |
virtual bool | save (char *fname) |
Definition at line 24 of file RealFeatures.h.
CRealFeatures::CRealFeatures | ( | int32_t | size = 0 |
) |
CRealFeatures::CRealFeatures | ( | const CRealFeatures & | orig | ) |
copy constructor
Definition at line 34 of file RealFeatures.h.
CRealFeatures::CRealFeatures | ( | float64_t * | src, | |
int32_t | num_feat, | |||
int32_t | num_vec | |||
) |
constructor that copies feature matrix from pointer num_feat,num_vec pair
src | feature matrix to copy | |
num_feat | number of features | |
num_vec | number of vectors |
Definition at line 44 of file RealFeatures.h.
CRealFeatures::CRealFeatures | ( | char * | fname | ) |
constructor
fname | filename to load features from |
Definition at line 56 of file RealFeatures.h.
bool CRealFeatures::Align_char_features | ( | CCharFeatures * | cf, | |
CCharFeatures * | Ref, | |||
float64_t | gapCost | |||
) |
align char features
cf | char features | |
Ref | other char features | |
gapCost | gap cost |
Definition at line 63 of file RealFeatures.cpp.
virtual void CRealFeatures::copy_feature_matrix | ( | float64_t * | src, | |
int32_t | num_feat, | |||
int32_t | num_vec | |||
) | [virtual] |
copy feature matrix
wrapper to base class' method
src | feature matrix to copy | |
num_feat | number of features | |
num_vec | number of vectors |
Reimplemented from CSimpleFeatures< float64_t >.
Definition at line 90 of file RealFeatures.h.
virtual void CRealFeatures::get_fm | ( | float64_t ** | dst, | |
int32_t * | d1, | |||
int32_t * | d2 | |||
) | [virtual] |
get feature matrix
dst | destination where matrix will be stored | |
d1 | dimension 1 of matrix | |
d2 | dimension 2 of matrix |
Reimplemented from CSimpleFeatures< float64_t >.
Definition at line 77 of file RealFeatures.h.
bool CRealFeatures::load | ( | char * | fname | ) | [virtual] |
load features from file
fname | filename to load from |
Reimplemented from CFeatures.
Definition at line 15 of file RealFeatures.cpp.
bool CRealFeatures::save | ( | char * | fname | ) | [virtual] |
save features to file
fname | filename to save to |
Reimplemented from CFeatures.
Definition at line 36 of file RealFeatures.cpp.