System documentation of the GNU Image-Finding Tool

Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members

CIFBuilderTriplet Class Reference

When building an inverted file by successive merging we need first to create a file containing triplets of FeatureID, DocumentID and DocumentFrequency. More...

#include <CIFBuilderTriplet.h>

List of all members.

Public Member Functions

 CIFBuilderTriplet ()
 the default constructor

 CIFBuilderTriplet (TID inFeatureID, TID inDocumentID, float inDocumentFrequency)
 convenience constructor

bool isIdentical (const CIFBuilderTriplet &inTriplet) const
 testing if all fields are equal


Public Attributes

int mFeatureID
 the feature id of this feature

int mDocumentID
 the document id of the document containing this feature

float mDocumentFrequency
 the frequency of the feature within the document


Detailed Description

When building an inverted file by successive merging we need first to create a file containing triplets of FeatureID, DocumentID and DocumentFrequency.

These elements need to be sorted by FeatureID and inverse Document Frequency.


The documentation for this class was generated from the following file:
Need for discussion? Want to contribute? Contact
help-gift@gnu.org Generated using Doxygen