#include <CosSimRetMethod.hpp>
Inheritance diagram for lemur::retrieval::CosSimDocRep:
Public Member Functions | |
CosSimDocRep (lemur::api::DOCID_T docID, double *idfValue, double norm, int dl) | |
virtual | ~CosSimDocRep () |
virtual double | termWeight (lemur::api::TERMID_T termID, const lemur::api::DocInfo *info) const |
return dtf*idf. | |
virtual double | scoreConstant () const |
return the L2 norm for this document. | |
Private Attributes | |
double * | idf |
idf vector for collection. | |
double | dNorm |
L2 norm for this document. |
|
|
|
|
|
return the L2 norm for this document.
Implements lemur::api::DocumentRep. |
|
return dtf*idf.
|
|
L2 norm for this document.
|
|
idf vector for collection.
|