20 #ifndef TESSERACT_CLASSIFY_INTFEATUREDIST_H_ 21 #define TESSERACT_CLASSIFY_INTFEATUREDIST_H_ 23 #include "genericvector.h" 53 int canonical_count,
bool value);
80 #endif // TESSERACT_CLASSIFY_INTFEATUREDIST_H_ void Clear()
Definition: intfeaturedist.cpp:150
void Set(const GenericVector< int > &indexed_features, int canonical_count, bool value)
Definition: intfeaturedist.cpp:51
bool * features_delta_two_
Definition: intfeaturedist.h:75
Definition: intfeaturedist.h:39
~IntFeatureDist()
Definition: intfeaturedist.cpp:31
bool * features_delta_one_
Definition: intfeaturedist.h:73
double total_feature_weight_
Definition: intfeaturedist.h:67
Definition: intfeaturemap.h:48
Definition: baseapi.cpp:94
double FeatureDistance(const GenericVector< int > &features) const
Definition: intfeaturedist.cpp:75
bool * features_
Definition: intfeaturedist.h:71
int size_
Definition: intfeaturedist.h:65
const IntFeatureMap * feature_map_
Definition: intfeaturedist.h:69
void Init(const IntFeatureMap *feature_map)
Definition: intfeaturedist.cpp:36
IntFeatureDist()
Definition: intfeaturedist.cpp:25
double DebugFeatureDistance(const GenericVector< int > &features) const
Definition: intfeaturedist.cpp:98