41 #ifndef _CWFBESTFULLYWEIGHTED 42 #define _CWFBESTFULLYWEIGHTED 43 #include "libGIFTQuInvertedFile/include/uses-declarations.h" 44 #include "libGIFTQuInvertedFile/include/CWeightingFunction.h" 66 virtual double subApply(
const double inDocumentFrequency,
67 const double inNormalizingFactor)
const;
CWeightingFunction * clone() const
For the "prototype pattern": Kinda virtual copy constructor: Gamma/Helm/Johnson/Vlissides p...
For normalizing weights like in Salton/Buckley we need to now all the features in the query or all th...
Definition: CQueryNormalizer.h:55
a universally usable class for weighting.
Definition: CWeightingFunction.h:70
An accessor to an inverted file.
Definition: CAcInvertedFile.h:83
virtual double subApply(const double inDocumentFrequency, const double inNormalizingFactor) const
Apply this on a document frequency.
virtual double apply(const CDocumentFrequencyElement &inResultFeature) const
Preparing the right parameters for subApply: Apply this on another feature.
CDOCUMENTFREQUENCYELEMENT.
Definition: CDocumentFrequencyElement.h:49
Weighting function for method 1.
Definition: CWFBestFullyWeighted.h:47