Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MultiRegrMergeMethod Class Reference

#include <MultiRegrMergeMethod.hpp>

Inheritance diagram for MultiRegrMergeMethod:

DistMergeMethod List of all members.

Public Methods

 MultiRegrMergeMethod (double constA=0.714, double constB=0.2857)
 the default values of constA and constB are the values of CORI merging algorithm

 ~MultiRegrMergeMethod ()
void mergeScoreSet (const IndexedRealVector &indexset, const DocScoreVector *const *scoreset, DocScoreVector &results)
void calcRegrParams (const IndexedRealVector &indexset, const DocScoreVector *centralscores, const DocScoreVector *const *scoresset)

Protected Methods

virtual double score (double dbscore, double docscore, int dbIndex) const
 create a score for the merge based on the index ranking score and the document score

virtual double score (double dbscore, double docscore) const
 create a score for the merge based on the index ranking score and the document score


Protected Attributes

double * parama
 The model parameters.

double * paramb
double defParamA
double defParamB

Constructor & Destructor Documentation

MultiRegrMergeMethod::MultiRegrMergeMethod (  double    constA = 0.714,
double    constB = 0.2857
) 
 

the default values of constA and constB are the values of CORI merging algorithm

MultiRegrMergeMethod::~MultiRegrMergeMethod (    ) 
 


Member Function Documentation

void MultiRegrMergeMethod::calcRegrParams (  const IndexedRealVector &    indexset,
const DocScoreVector *    centralscores,
const DocScoreVector *const *    scoresset
) 
 

calculate the a regression model for each of the databases indexset are the database scores for selected databases centralsocres are the central documents scores retrieved by centralized sampling database scoresset are the distributed documents scores retrieved by individual databases

void MultiRegrMergeMethod::mergeScoreSet (  const IndexedRealVector &    indexset,
const DocScoreVector *const *    scoreset,
DocScoreVector &    results
)  [virtual]
 

calculate the single regression model for all the databases indexset are the database scores for selected databases centralsocres are the central documents scores retrieved by centralized sampling database scoresset are the distributed documents scores retrieved by individual databases

Reimplemented from DistMergeMethod.

double MultiRegrMergeMethod::score (  double    dbscore,
double    docscore
)  const [protected, virtual]
 

create a score for the merge based on the index ranking score and the document score

Implements DistMergeMethod.

double MultiRegrMergeMethod::score (  double    dbscore,
double    docscore,
int    dbIndex
)  const [protected, virtual]
 

create a score for the merge based on the index ranking score and the document score


Member Data Documentation

double MultiRegrMergeMethod::defParamA [protected]
 

double MultiRegrMergeMethod::defParamB [protected]
 

double* MultiRegrMergeMethod::parama [protected]
 

The model parameters.

double* MultiRegrMergeMethod::paramb [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:46 2004 for Lemur Toolkit by doxygen1.2.18