#include <CORIRetMethod.hpp>
Inheritance diagram for CORIRetMethod:
Public Methods | |
CORIRetMethod (const Index &dbIndex, ScoreAccumulator &accumulator, String cwName, int isCSIndex=0, const SimpleKLDocModel **smoothers=NULL, const UnigramLM *collectLM=NULL) | |
~CORIRetMethod () | |
virtual TextQueryRep * | computeTextQueryRep (const TermQuery &qry) |
compute the query representation for a text query (caller responsible for deleting the memory of the generated new instance) | |
virtual DocumentRep * | computeDocRep (DOCID_T docID) |
compute the doc representation (caller responsible for deleting the memory of the generated new instance) | |
virtual ScoreFunction * | scoreFunc () |
return the scoring function pointer | |
virtual void | scoreCollection (const QueryRep &qry, IndexedRealVector &results) |
overriding abstract class method with a general efficient inverted index scoring procedure | |
virtual void | updateTextQuery (TextQueryRep &qryRep, const DocIDSet &relDocs) |
Modify/update the query representation based on a set (presumably) relevant documents. | |
void | setTFFactor (double tf) |
void | setTFBaseline (double tf) |
Protected Attributes | |
ScoreFunction * | scFunc |
const SimpleKLDocModel ** | dfSmooth |
const UnigramLM * | collLM |
double * | cwRatio |
double | tffactor |
double | tfbaseline |
|
|
|
|
|
compute the doc representation (caller responsible for deleting the memory of the generated new instance)
Implements TextQueryRetMethod. |
|
compute the query representation for a text query (caller responsible for deleting the memory of the generated new instance)
Implements TextQueryRetMethod. |
|
overriding abstract class method with a general efficient inverted index scoring procedure
Reimplemented from TextQueryRetMethod. |
|
return the scoring function pointer
Implements TextQueryRetMethod. |
|
|
|
|
|
Modify/update the query representation based on a set (presumably) relevant documents.
Implements TextQueryRetMethod. |
|
|
|
|
|
|
|
|
|
|
|
|