#include <CORIRetMethod.hpp>
Inheritance diagram for CORIRetMethod:

Public Methods | |
| CORIRetMethod (Index &dbIndex,ScoreAccumulator &accumulator,String cwName,SimpleKLDocModel **smoothers=NULL,UnigramLM *collectLM=NULL) | |
| ~CORIRetMethod () | |
| virtual TextQueryRep* | computeTextQueryRep (TextQuery &qry) |
| compute the query representation for a text query (caller responsible for deleting the memory of the generated new instance). | |
| virtual DocumentRep* | computeDocRep (int 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 (QueryRep &qry,IndexedRealVector &results) |
| ooverriding abstract class method with a general efficient inverted index scoring procedure. | |
| virtual void | updateTextQuery (TextQueryRep &qryRep,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 |
| SimpleKLDocModel** | dfSmooth |
| UnigramLM* | collLM |
| double* | cwRatio |
| double | tffactor |
| double | tfbaseline |
|
|
|
|
|
|
|
|
compute the doc representation (caller responsible for deleting the memory of the generated new instance).
Reimplemented from TextQueryRetMethod. |
|
|
compute the query representation for a text query (caller responsible for deleting the memory of the generated new instance).
Reimplemented from TextQueryRetMethod. |
|
|
ooverriding abstract class method with a general efficient inverted index scoring procedure.
Reimplemented from TextQueryRetMethod. |
|
|
return the scoring function pointer.
Reimplemented from TextQueryRetMethod. |
|
|
|
|
|
|
|
|
Modify/update the query representation based on a set (presumably) relevant documents.
Reimplemented from TextQueryRetMethod. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.4 written by Dimitri van Heesch,
© 1997-2000