CWeighterFactory Class Reference

[CADIHash.h Index] [CADIHash.h Hierarchy]


A factory for weighting functions with associated normalizers More...

#include <../libInvertedFile/include/CQInvertedFile.h>

Inherits: map

Public Members


Detailed Description

A factory for weighting functions with associated normalizers.The weighting functions are intended to be members of CQInvertedFile where they will be used.


CWeighter* newWeighter(const string& inID)

clones a weighter from the factory and sets the pointers in a way, that normalizers etc. are pointing in the right way to each other.

However, you still have to set the accessor Why not set it at once? Maybe.

CWeighterFactory()

constructor: initializes everythingfills the map etc.

~CWeighterFactory()

Destructor deletes the content it points to


Documentation generated by muellerw@pc7170 on Son Okt 8 16:04:40 CEST 2000
Kdoc