Victor
 All Data Structures Functions Variables Friends Pages
RankAnalyzer Class Reference

This class implements functions to analyze the ranking output of lobo. More...

Public Member Functions

 RankAnalyzer ()
 
 RankAnalyzer (const RankAnalyzer &orig)
 
virtual ~RankAnalyzer ()
 
void calcStatistics ()
 
void copy (const RankAnalyzer &orig)
 
void load (istream &inFile, unsigned int select)
 
void printCorrelation (char *intro, unsigned int index)
 
void printCorrelation (char *intro, vector< double > data)
 
void printHeader ()
 
void printTopXResults (unsigned int top, string topFile, double maxScore=1000.0)
 

Detailed Description

This class implements functions to analyze the ranking output of lobo.

Constructor & Destructor Documentation

basic constructor

RankAnalyzer ( const RankAnalyzer orig)

Constructor based on an original object copied

Parameters
originalobject(RankAnalyzer& )
~RankAnalyzer ( )
virtual

basic destructor

Member Function Documentation

void calcStatistics ( )

calculates the statistics like RMS, energy , etc

Parameters
none
Returns
changes are made internally(void)
void copy ( const RankAnalyzer orig)

copies the information in an object into another

Parameters
referenceto the original object
Returns
changes are made internally(void)
void load ( istream &  inFile,
unsigned int  select 
)

loads the file data considering a number of "records"

Parameters
referenceto the input file(istream&), number of the "records" to consider(unsigned int)
Returns
void printCorrelation ( char *  intro,
unsigned int  index 
)

Prints the correlation with a corresponding introduccion

Parameters
textto print as introduction (char *), the index where the value to calculate the correlation is(unsigned int)
void printCorrelation ( char *  intro,
vector< double >  data 
)

Prints the correlation with a corresponding introduccion

Parameters
textto print as introduction (char *), the vector where the value to calculate the correlation is(vector<double> )
void printHeader ( )

Method to print the headers

Parameters
none
void printTopXResults ( unsigned int  top,
string  topFile,
double  maxScore = 1000.0 
)

prints some results

Parameters
indexof the topvalue(unsigned int), name of file where the top results will be put(string) ,Maximum possible score(double)
Returns

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