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