Victor
 All Data Structures Functions Variables Friends Pages
ranking_helper2 Class Reference

the class contains methods to manage the ranking More...

Public Member Functions

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

Detailed Description

the class contains methods to manage the ranking

JJust 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. This container differs from the ranking_helper by the fact, that it has the < operator overloaded differently

Constructor & Destructor Documentation

ranking_helper2 ( 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_helper2& )

Member Function Documentation

void copy ( const ranking_helper2 c)

copies the info from another object

Parameters
referenceto original object(const ranking_helper2& )
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_helper2 name) const

Operator that allows to verify if its lower than other

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

Operator that allows to assign one object to other

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

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