85 (FeatureDesc->
NumParams - 1) *
sizeof(
float));
86 Feature->
Type = FeatureDesc;
101 (NumFeatures - 1) *
sizeof (
FEATURE));
127 assert (!std::isnan(Feature->
Params[i]));
149 for (
int i = 0; i < NumFeatures; i++)
169 assert(!std::isnan(Feature->
Params[i]));
189 for (
int i = 0; i < FeatureSet->
NumFeatures; i++) {
int tfscanf(FILE *stream, const char *format,...)
FEATURE_SET NewFeatureSet(int NumFeatures)
void FreeFeature(FEATURE Feature)
void WriteFeature(FEATURE Feature, STRING *str)
void WriteFeatureSet(FEATURE_SET FeatureSet, STRING *str)
FEATURE ReadFeature(FILE *File, const FEATURE_DESC_STRUCT *FeatureDesc)
void add_str_double(const char *str, double number)
FEATURE_SET_STRUCT * FEATURE_SET
FEATURE NewFeature(const FEATURE_DESC_STRUCT *FeatureDesc)
void add_str_int(const char *str, int number)
FEATURE_SET ReadFeatureSet(FILE *File, const FEATURE_DESC_STRUCT *FeatureDesc)
void FreeFeatureSet(FEATURE_SET FeatureSet)
bool AddFeature(FEATURE_SET FeatureSet, FEATURE Feature)
const FEATURE_DESC_STRUCT * Type