Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lemur::distrib::DocScoreVector Class Reference

A list of docids and scores. More...

#include <DocScore.hpp>

List of all members.

Public Member Functions

 DocScoreVector ()
 DocScoreVector (int size)
virtual ~DocScoreVector ()
virtual void PushValue (const string &docid, double value)
 push a value

virtual void Sort (bool descending=true)
 sort all the values, default is descending order


Static Private Attributes

ScoreAscending ascendOrder
ScoreDescending descendOrder


Detailed Description

A list of docids and scores.


Constructor & Destructor Documentation

lemur::distrib::DocScoreVector::DocScoreVector  )  [inline]
 

lemur::distrib::DocScoreVector::DocScoreVector int  size  )  [inline]
 

lemur::distrib::DocScoreVector::~DocScoreVector  )  [virtual]
 


Member Function Documentation

void lemur::distrib::DocScoreVector::PushValue const string &  docid,
double  value
[virtual]
 

push a value

void lemur::distrib::DocScoreVector::Sort bool  descending = true  )  [virtual]
 

sort all the values, default is descending order


Member Data Documentation

lemur::distrib::DocScoreVector::ScoreAscending lemur::distrib::DocScoreVector::ascendOrder [static, private]
 

lemur::distrib::DocScoreVector::ScoreDescending lemur::distrib::DocScoreVector::descendOrder [static, private]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:05 2010 for Lemur by doxygen 1.3.4