System documentation of the GNU Image-Finding Tool

Public Member Functions | Protected Attributes | List of all members
CQueryNormalizer Class Reference

For normalizing weights like in Salton/Buckley we need to now all the features in the query or all the features in a document. More...

#include <CQueryNormalizer.h>

Inheritance diagram for CQueryNormalizer:
CQNBestFullyWeighted CQNEuclideanLengthSquare CQNMaxDocumentFrequency CQNNoNormalization CQNSquareDFLogICFSum

Public Member Functions

 CQueryNormalizer (const CAcInvertedFile *inAccessor=0)
 
void setAccessor (const CAcInvertedFile *inAccessor)
 
virtual void reset ()
 
virtual double getValue () const
 Translating the information into a normalizing value in the end.
 
virtual void considerQueryFeature (const CWeightingFunction &inFeature)
 Considers a feature.
 
virtual CQueryNormalizerclone () const
 

Protected Attributes

double mValue
 
const CAcInvertedFilemAccessor
 

Detailed Description

For normalizing weights like in Salton/Buckley we need to now all the features in the query or all the features in a document.

This base class is supposed to handle both.

For getting additional information it needs to know the accessor.


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