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

Public Methods | |
| InQueryRetMethod (InvFPIndex &dbIndex, ScoreAccumulator &accumulator) | |
| virtual | ~InQueryRetMethod () |
| virtual StructQueryRep * | computeStructQueryRep (StructQuery &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 | updateStructQuery (StructQueryRep &qryRep, DocIDSet &relDocs) |
| void | setDocINQParam (InQueryParameter::docParam &dParam) |
| void | setQueryINQParam (InQueryParameter::qryParam &qParam) |
Protected Attributes | |
| double * | idfV |
| ScoreFunction * | scFunc |
| keep a copy to be used at any time | |
| InQueryParameter::qryParam | qryPrm |
| InQueryParameter::docParam | docPrm |
|
||||||||||||
|
|
|
|
|
|
|
compute the doc representation (caller responsible for deleting the memory of the generated new instance)
Implements StructQueryRetMethod. |
|
|
compute the query representation for a text query (caller responsible for deleting the memory of the generated new instance)
Implements StructQueryRetMethod. |
|
|
return the scoring function pointer
Implements StructQueryRetMethod. |
|
|
|
|
|
|
|
||||||||||||
|
Create new structured query that is a weighted sum of the original query and the terms selected by the simplified Rocchio of the TFIDFRetMethod class. Implements StructQueryRetMethod. |
|
|
|
|
|
|
|
|
|
|
|
keep a copy to be used at any time
|
1.2.18