CDocumentFrequencyElement Class

# CDocumentFrequencyElement Class Reference

[CADIHash.h Index] [CADIHash.h Hierarchy]

A pair of Document Frequency ID: Can be used for FeatureIDs and DocumentIDs More...

`#include <../libInvertedFile/include/CDocumentFrequencyElement.h>`

## Public Members

- CDocumentFrequencyElement ()
- CDocumentFrequencyElement (TID inID, float inDocumentFrequency)
- CDocumentFrequencyElement (istream& inStream)
- CDocumentFrequencyElement (const CDocumentFrequencyElement& inElement)
- bool input (istream& inStream)
- bool output (ostream& outStream)
- bool writeBinary (ostream& outStream)
- TID getID ()
- unsigned int getIntegerDocumentFrequency ()
- float getDocumentFrequency ()
- void setDocumentFrequency (float)
- void divideDocumentFrequency (float)

## Detailed Description

A pair of Document Frequency ID: Can be used for FeatureIDs and DocumentIDs

## CDocumentFrequencyElement(TID inID, float inDocumentFrequency)

constructor fills mContent with inID,inDocumentFrequency

| Kdoc