System documentation of the GNU Image-Finding Tool

Public Member Functions | List of all members
CWeighter Class Reference

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.
 
CWeighterclone () const
 clone: clone an init-ed copy of this
 
 ~CWeighter ()
 destructor: deletes all content. More...
 
CWeightingFunctiongetWeightingFunction () const
 
CQueryNormalizergetDocumentNormalizer () const
 
CQueryNormalizergetQueryNormalizer () const
 

Detailed Description

A weighter is a set of WeightingFunction and normalizers which are going to be used together.

Also: The content of the weighting function factory

Author
Wolfgang Müller

Constructor & Destructor Documentation

§ ~CWeighter()

CWeighter::~CWeighter ( )

destructor: deletes all content.


The documentation for this class was generated from the following file:

Need for discussion? Want to contribute? Contact
help-gift@gnu.org Generated using Doxygen