CQNBestFullyWeighted Class Reference

#include <CQNBestFullyWeighted.h>

Inheritance diagram for CQNBestFullyWeighted:

CQueryNormalizer

List of all members.

Public Member Functions

 CQNBestFullyWeighted (const CAcInvertedFile *inAccessor)
virtual void considerQueryFeature (const CWeightingFunction &inFeature)
virtual CQueryNormalizerclone () const


Detailed Description

CQNBestFullyWeighted

modification history:

HM 090399 created the documentation

: Wolfgang Müller

compiler defines used:The query normalizer for the Best Fully Weighted Method does not work yet (1.12.1998)

Definition at line 49 of file CQNBestFullyWeighted.h.


Constructor & Destructor Documentation

CQNBestFullyWeighted::CQNBestFullyWeighted ( const CAcInvertedFile inAccessor  ) 

CQNBestFullyWeighted

modification history:

HM 090399 created the documentation

compiler defines used:

constructor

modification history

Definition at line 54 of file CQNBestFullyWeighted.cc.

00056                         :
00057   CQueryNormalizer(inAccessor)
00058 {
00059 };


Member Function Documentation

void CQNBestFullyWeighted::considerQueryFeature ( const CWeightingFunction inFeature  )  [virtual]

Considers a feature

considerQueryFeature

modification history

Reimplemented from CQueryNormalizer.

Definition at line 74 of file CQNBestFullyWeighted.cc.

References CWeightingFunction::getTermFrequency(), and CQueryNormalizer::mValue.

00075                       {
00076   mValue=max(fabs(inFeature.getTermFrequency()),
00077        mValue);
00078 };

virtual CQueryNormalizer* CQNBestFullyWeighted::clone (  )  const [virtual]

returning a copy of this

Reimplemented from CQueryNormalizer.


The documentation for this class was generated from the following files:

Generated on Wed Jan 7 00:31:13 2009 for Gift by  doxygen 1.5.6