A weighter is a set of WeightingFunction and normalizers which are going to be used together. More...
#include <CWeighter.h>
Public Member Functions | |
| CWeighter (CWeightingFunction *inWeightingFunction=0, CQueryNormalizer *inDocumentNormalizer=0, CQueryNormalizer *inQueryNormalizer=0) | |
| constructor | |
| void | init () |
| make the weighting function know who its normalizers are | |
| void | setAccessor (CAcInvertedFile &inAccessor) |
| Set for all content the accessor properly and then call init. | |
| CWeighter * | clone () const |
| clone: clone an init-ed copy of this | |
| ~CWeighter () | |
| destructor: deletes all content. More... | |
| CWeightingFunction * | getWeightingFunction () const |
| CQueryNormalizer * | getDocumentNormalizer () const |
| CQueryNormalizer * | getQueryNormalizer () const |
A weighter is a set of WeightingFunction and normalizers which are going to be used together.
Also: The content of the weighting function factory
| CWeighter::~CWeighter | ( | ) |
destructor: deletes all content.