#include <CosSimRetMethod.hpp>
Inheritance diagram for CosSimDocRep:

Public Methods | |
| CosSimDocRep (int docID, double *idfValue, double norm, int dl) | |
| virtual | ~CosSimDocRep () |
| virtual double | termWeight (int 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. |
1.2.18