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

indri::query::JelinekMercerTermScoreFunction Class Reference

#include <JelinekMercerTermScoreFunction.hpp>

Inheritance diagram for indri::query::JelinekMercerTermScoreFunction:

indri::query::TermScoreFunction List of all members.

Public Member Functions

 JelinekMercerTermScoreFunction (double collectionFrequency, double collectionLambda, double documentLambda=0.0)
double scoreOccurrence (double occurrences, int contextSize)
double scoreOccurrence (double occurrences, int contextSize, double documentOccurrences, int documentLength)

Private Attributes

double _lambda
double _backgroundLambda
double _collectionFrequency
double _collectionComponent
double _oneLevelCollectionComponent
double _contextLambda
double _collectionLambda
double _documentLambda
double _foregroundLambda

Constructor & Destructor Documentation

indri::query::JelinekMercerTermScoreFunction::JelinekMercerTermScoreFunction double  collectionFrequency,
double  collectionLambda,
double  documentLambda = 0.0
[inline]
 


Member Function Documentation

double indri::query::JelinekMercerTermScoreFunction::scoreOccurrence double  occurrences,
int  contextSize,
double  documentOccurrences,
int  documentLength
[inline, virtual]
 

Implements indri::query::TermScoreFunction.

double indri::query::JelinekMercerTermScoreFunction::scoreOccurrence double  occurrences,
int  contextSize
[inline, virtual]
 

Implements indri::query::TermScoreFunction.


Member Data Documentation

double indri::query::JelinekMercerTermScoreFunction::_backgroundLambda [private]
 

double indri::query::JelinekMercerTermScoreFunction::_collectionComponent [private]
 

double indri::query::JelinekMercerTermScoreFunction::_collectionFrequency [private]
 

double indri::query::JelinekMercerTermScoreFunction::_collectionLambda [private]
 

double indri::query::JelinekMercerTermScoreFunction::_contextLambda [private]
 

double indri::query::JelinekMercerTermScoreFunction::_documentLambda [private]
 

double indri::query::JelinekMercerTermScoreFunction::_foregroundLambda [private]
 

double indri::query::JelinekMercerTermScoreFunction::_lambda [private]
 

double indri::query::JelinekMercerTermScoreFunction::_oneLevelCollectionComponent [private]
 


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