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

Public Methods | |
| InQueryRetMethod (Index &dbIndex, double belief, int fbTerms, double fbCoef, bool cacheIDF) | |
| virtual | ~InQueryRetMethod () |
| virtual StructQueryRep * | computeStructQueryRep (StructQuery &qry) |
| compute the query representation for a text query | |
| virtual DocumentRep * | computeDocRep (int docID) |
| virtual ScoreFunction * | scoreFunc () |
| return the scoring function pointer | |
| virtual void | updateStructQuery (StructQueryRep &qryRep, DocIDSet &relDocs) |
Private Attributes | |
| double * | idfV |
| ScoreFunction * | scFunc |
| double | fbCoeff |
| int | fbTermCount |
| double | defaultBelief |
| int | docCount |
| double | docLengthAverage |
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
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
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. Implements StructQueryRetMethod. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.16