Main Page   Namespace List   Class Hierarchy   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 (IndexedRealVector &indexset, DocScoreVector **scoreset, DocScoreVector &results)
void calcRegrParams (IndexedRealVector &indexset, DocScoreVector *centralscores, DocScoreVector **scoresset)

Protected Methods

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

virtual double score (double dbscore, double docscore)
 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 IndexedRealVector   indexset,
DocScoreVector   centralscores,
DocScoreVector **    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 IndexedRealVector   indexset,
DocScoreVector **    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
[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
[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 Fri Feb 6 07:12:04 2004 for LEMUR by doxygen1.2.16