41 #ifndef _CDOCUMENTFREQUENCYELEMENT
42 #define _CDOCUMENTFREQUENCYELEMENT
43 #include "libGIFTAcInvertedFile/include/uses-declarations.h"
46 #include "libMRML/include/TID.h"
74 float inDocumentFrequency);
101 bool input(istream& inStream);
108 bool output(ostream& outStream)
const;
115 bool writeBinary(ostream& outStream)
const;
133 unsigned int getIntegerDocumentFrequency()
const;
140 float getDocumentFrequency()
const;
147 void setDocumentFrequency(
float);
154 void divideDocumentFrequency(
float);
170 public binary_function
171 <CDocumentFrequencyElement,CDocumentFrequencyElement,bool>{
176 return l.getID()<t.getID();
190 public binary_function
191 <CDocumentFrequencyElement,CDocumentFrequencyElement,bool>{
196 return t.getDocumentFrequency()<l.getDocumentFrequency();