Main Page   Namespace List   Class Hierarchy   Alphabetical List   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 (const Index &dbIndex)
virtual double adjustedScore (double origScore, const TextQueryRep *qRep, const DocumentRep *dRep) const
 score adjustment (divide by L2 Norm for document)


Protected Attributes

const Indexind

Detailed Description

The ScoreFunction for the CosSim method.


Constructor & Destructor Documentation

CosSimScoreFunc::CosSimScoreFunc const Index   dbIndex [inline]
 


Member Function Documentation

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

score adjustment (divide by L2 Norm for document)

Reimplemented from ScoreFunction.


Member Data Documentation

const Index& CosSimScoreFunc::ind [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Nov 3 12:59:29 2004 for Lemur Toolkit by doxygen1.2.18