System documentation of the GNU Image-Finding Tool

Public Member Functions
CInvertedFileChunk Class Reference

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

#include <CInvertedFileChunk.h>

Inheritance diagram for CInvertedFileChunk:
CMapInvertedFileChunk

List of all members.

Public Member Functions

double getCollectionFrequency (size_t inSize) const
 returns the percentage of documents which contain this one feature
void addElement (TID inDocumentID, double inDocumentFrequency)
 add one document of to the list for one feature
bool writeBinary (ostream &, TID inFeatureID, size_t inSize) const
 writes the binary part of the list for one feature

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