Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CosSimScoreFunc Class Reference

The ScoreFunction for the CosSim method. More...

#include <CosSimRetMethod.hpp>

Inheritance diagram for CosSimScoreFunc:

ScoreFunction List of all members.

Public Methods

 CosSimScoreFunc (Index &dbIndex)
virtual double adjustedScore (double origScore, TextQueryRep *qRep, DocumentRep *dRep)
 score adjustment (divide by L2 Norm for document)


Protected Attributes

Indexind

Detailed Description

The ScoreFunction for the CosSim method.


Constructor & Destructor Documentation

CosSimScoreFunc::CosSimScoreFunc Index   dbIndex [inline]
 


Member Function Documentation

virtual double CosSimScoreFunc::adjustedScore double    origScore,
TextQueryRep   qRep,
DocumentRep   dRep
[inline, virtual]
 

score adjustment (divide by L2 Norm for document)

Reimplemented from ScoreFunction.


Member Data Documentation

Index& CosSimScoreFunc::ind [protected]
 


The documentation for this class was generated from the following file:
Generated on Fri Feb 6 07:11:59 2004 for LEMUR by doxygen1.2.16