Generic Ranking Method. More...
#include <gcomputerank.h>
Inheritance diagram for GComputeRank:
Public Member Functions | |
GComputeRank (GSession *session, GPlugInFactory *fac) | |
virtual void | Rank (GEngine *engine, GSearchQuery *query, size_t caller)=0 |
virtual | ~GComputeRank (void) |
Public Member Functions inherited from GPlugIn | |
GPlugIn (GSession *session, GPlugInFactory *fac) | |
virtual void | ApplyConfig (void) |
void | InsertParam (R::RParam *param) |
template<class T > | |
T * | FindParam (const R::RString &name) |
R::RCursor< R::RParam > | GetParams (const R::RString &cat=R::RString::Null) |
void | GetCategories (R::RContainer< R::RString, true, false > &cats) |
virtual void | Init (void) |
virtual void | CreateConfig (void) |
virtual void | Reset (void) |
GPlugInFactory * | GetFactory (void) const |
int | Compare (const GPlugIn &plugin) const |
int | Compare (const R::RString &plugin) const |
R::RString | GetName (void) const |
R::RString | GetDesc (void) const |
GSession * | GetSession (void) const |
virtual void | Done (void) |
virtual | ~GPlugIn (void) |
Additional Inherited Members | |
Protected Attributes inherited from GPlugIn | |
GPlugInFactory * | Factory |
GSession * | Session |
size_t | Id |
Detailed Description
Generic Ranking Method.
The GComputeRank class provides a representation for a generic computing method to rank a set of document fragments.
See the documentation related to GPlugIn for more general information.
Constructor & Destructor Documentation
GComputeRank | ( | GSession * | session, |
GPlugInFactory * | fac | ||
) |
Construct a ranking method.
- Parameters
-
session Session. fac Factory.
|
virtual |
Destructor of the ranking method.
Member Function Documentation
|
pure virtual |
Rank a set of document fragments.
- Parameters
-
engine Engine which results must be ranked. query Query. caller Identifier of the caller (for example a thread).