19#ifndef TESSERACT_CLASSIFY_INTFEATUREDIST_H_
20#define TESSERACT_CLASSIFY_INTFEATUREDIST_H_
51 void Set(
const std::vector<int> &indexed_features,
int canonical_count,
bool value);
65 double total_feature_weight_;
71 bool *features_delta_one_;
73 bool *features_delta_two_;
void Set(const std::vector< int > &indexed_features, int canonical_count, bool value)
double DebugFeatureDistance(const std::vector< int > &features) const
void Init(const IntFeatureMap *feature_map)
double FeatureDistance(const std::vector< int > &features) const