System documentation of the GNU Image-Finding Tool

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

CInvertedFileChunk Class Reference

A class which does all the necessary administrative work for generating inverted files. More...

#include <CInvertedFileChunk.h>

List of all members.

Public Member Functions

double getCollectionFrequency (size_t inSize) const
void addElement (TID inDocumentID, double inDocumentFrequency)
bool writeBinary (ostream &, TID inFeatureID, size_t inSize) const


Detailed Description

A class which does all the necessary administrative work for generating inverted files.

It contains the list of documents which contain a given feature


Member Function Documentation

void CInvertedFileChunk::addElement TID  inDocumentID,
double  inDocumentFrequency
 

add one document of to the list for one feature

double CInvertedFileChunk::getCollectionFrequency size_t  inSize  )  const
 

returns the percentage of documents which contain this one feature

bool CInvertedFileChunk::writeBinary ostream &  ,
TID  inFeatureID,
size_t  inSize
const
 

writes the binary part of the list for one feature


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