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

SingleRegrMergeMethod Class Reference

#include <SingleRegrMergeMethod.hpp>

Inheritance diagram for SingleRegrMergeMethod:

DistMergeMethod List of all members.

Public Methods

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

 ~SingleRegrMergeMethod ()
void calcRegrParams (const IndexedRealVector &indexset, const DocScoreVector *centralscores, const DocScoreVector *const *scoresset)

Protected Methods

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

Constructor & Destructor Documentation

SingleRegrMergeMethod::SingleRegrMergeMethod double    constA = 0.714,
double    constB = 0.2857
 

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

SingleRegrMergeMethod::~SingleRegrMergeMethod  
 


Member Function Documentation

void SingleRegrMergeMethod::calcRegrParams const IndexedRealVector   indexset,
const DocScoreVector   centralscores,
const DocScoreVector *const *    scoresset
 

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

double SingleRegrMergeMethod::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.


Member Data Documentation

double SingleRegrMergeMethod::parama [protected]
 

The model parameters.

double SingleRegrMergeMethod::paramb [protected]
 


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