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::RParamGetParams (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)
GPlugInFactoryGetFactory (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
GSessionGetSession (void) const
virtual void Done (void)
virtual ~GPlugIn (void)

Additional Inherited Members

- Protected Attributes inherited from GPlugIn
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.

virtual ~GComputeRank ( void  )

Destructor of the ranking method.

Member Function Documentation

virtual void Rank ( GEngine engine,
GSearchQuery query,
size_t  caller 
pure virtual

Rank a set of document fragments.

engineEngine which results must be ranked.
callerIdentifier of the caller (for example a thread).