#include <CQInvertedFile.h>
Public Member Functions | |
CWeighter * | newWeighter (const string &inID) const |
clones a weighter from the factory and sets the pointers in a way, that normalizers etc. | |
CWeighterFactory () | |
constructor: initializes everything fills the map etc. | |
~CWeighterFactory () | |
Destructor deletes the content it points to. |
The weighting functions are intended to be members of CQInvertedFile where they will be used.
|
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. |