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

indri::query::DirichletTermScoreFunction Class Reference

#include <DirichletTermScoreFunction.hpp>

Inheritance diagram for indri::query::DirichletTermScoreFunction:

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

Public Member Functions

 DirichletTermScoreFunction (double mu, double collectionFrequency, double docmu=-1.0)
double scoreOccurrence (double occurrences, int contextSize)
double scoreOccurrence (double occurrences, int contextSize, double documentOccurrences, int documentLength)

Private Attributes

double _mu
double _docmu
double _collectionFrequency
double _muTimesCollectionFrequency

Constructor & Destructor Documentation

indri::query::DirichletTermScoreFunction::DirichletTermScoreFunction double  mu,
double  collectionFrequency,
double  docmu = -1.0
[inline]
 


Member Function Documentation

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

Implements indri::query::TermScoreFunction.

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

Implements indri::query::TermScoreFunction.


Member Data Documentation

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

double indri::query::DirichletTermScoreFunction::_docmu [private]
 

double indri::query::DirichletTermScoreFunction::_mu [private]
 

double indri::query::DirichletTermScoreFunction::_muTimesCollectionFrequency [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