Victor
|
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_helper & | operator= (const ranking_helper &orig) |
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
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)
index(int),value(double) |
ranking_helper | ( | const ranking_helper & | c | ) |
Constructor that copies the info from another object
reference | to original object(const ranking_helper& ) |
void copy | ( | const ranking_helper & | c | ) |
copies the info from another object
reference | to original object(const ranking_helper& ) |
int get_index | ( | ) | const |
returns the rms ranking of the solution
none |
double get_value | ( | ) | const |
returns a value from a filter (like the propensity or the collision)
none |
bool operator< | ( | const ranking_helper & | name | ) | const |
Operator that allows to verify if its lower than other
reference | to the object(const ranking_helper &) |
ranking_helper & operator= | ( | const ranking_helper & | orig | ) |
Operator that allows to assign one object to other
reference | to the object(const ranking_helper &) |