#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. | |
Private Attributes | |
| Index & | ind |
| double * | idf |
| double | dNorm |
| L2 norm for this document. | |
|
||||||||||||||||||||
|
|
|
|
|
|
|
return the L2 norm for this document.
Implements DocumentRep. |
|
||||||||||||
|
return dtf*idf.
Implements DocumentRep. |
|
|
L2 norm for this document.
|
|
|
|
|
|
|
1.2.16