search for: intrusive_base

Displaying 1 result from an estimated 1 matches for "intrusive_base".

2016 Jun 27
2
xapian-letor: FeatureVector discussion
Hello James, Parth, Following our discussion on IRC and on code review, the way FeatureVector class works needs some discussion. Presently, the FeatureVector class is defined as follows, with a fixed number of feature count (19): class FeatureVector::Internal : public Xapian::Internal::intrusive_base{ friend class FeatureVector; double label; double score; std::map<int,double> fvals; int fcount; Xapian::docid did; The two approaches that were discussed were: 1. Using enums as IDs for features in fvals. 2. Making fvals into a configurable vector of feature values....