Victor
 All Data Structures Functions Variables Friends Pages
ranking_helper Class Reference

Contains methods to manage the ranking. More...

Public Member Functions

 ranking_helper (int ind, double val)
 
 ranking_helper (const ranking_helper &c)
 
void copy (const ranking_helper &c)
 
int get_index () const
 
double get_value () const
 
bool operator< (const ranking_helper &name) const
 
ranking_helperoperator= (const ranking_helper &orig)
 

Detailed Description

Contains methods to manage the ranking.

Just contains an int and double value which gets sorted (by a STL set) in order to determine the ranking of low rms solutions with special filters

Constructor & Destructor Documentation

ranking_helper ( int  ind,
double  val 
)

constructor sets the values of the index that contains the rms ranking of the solution , and the value from a filter (like the propensity or the collision)

Parameters
index(int),value(double)

Constructor that copies the info from another object

Parameters
referenceto original object(const ranking_helper& )

Member Function Documentation

void copy ( const ranking_helper c)

copies the info from another object

Parameters
referenceto original object(const ranking_helper& )
Returns
changes are made internally(void)
int get_index ( ) const

returns the rms ranking of the solution

Parameters
none
Returns
the corresponding value
double get_value ( ) const

returns a value from a filter (like the propensity or the collision)

Parameters
none
Returns
the corresponding value
bool operator< ( const ranking_helper name) const

Operator that allows to verify if its lower than other

Parameters
referenceto the object(const ranking_helper &)
Returns
result of the verification
ranking_helper & operator= ( const ranking_helper orig)

Operator that allows to assign one object to other

Parameters
referenceto the object(const ranking_helper &)
Returns
result of the verification

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