#include <CosSimRetMethod.hpp>
Inheritance diagram for CosSimDocRep:
Public Methods | |
CosSimDocRep (DOCID_T docID, double *idfValue, double norm, int dl) | |
virtual | ~CosSimDocRep () |
virtual double | termWeight (TERMID_T termID, const DocInfo *info) const |
return dtf*idf. | |
virtual double | scoreConstant () const |
return the L2 norm for this document. |
|
|
|
|
|
return the L2 norm for this document.
Implements DocumentRep. |
|
return dtf*idf.
Implements DocumentRep. |