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

lemur::retrieval::CosSimScoreFunc Class Reference

The ScoreFunction for the CosSim method. More...

#include <CosSimRetMethod.hpp>

Inheritance diagram for lemur::retrieval::CosSimScoreFunc:

lemur::api::ScoreFunction List of all members.

Public Member Functions

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


Protected Attributes

const lemur::api::Indexind

Detailed Description

The ScoreFunction for the CosSim method.


Constructor & Destructor Documentation

lemur::retrieval::CosSimScoreFunc::CosSimScoreFunc const lemur::api::Index dbIndex  )  [inline]
 


Member Function Documentation

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

score adjustment (divide by L2 Norm for document)


Member Data Documentation

const lemur::api::Index& lemur::retrieval::CosSimScoreFunc::ind [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:06 2010 for Lemur by doxygen 1.3.4