|
Victor
|
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_helper2 & | operator= (const ranking_helper2 &orig) |
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
| 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)
| index(int),value(double) |
| ranking_helper2 | ( | const ranking_helper2 & | c | ) |
Constructor that copies the info from another object
| reference | to original object(const ranking_helper2& ) |
| void copy | ( | const ranking_helper2 & | c | ) |
copies the info from another object
| reference | to original object(const ranking_helper2& ) |
| 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_helper2 & | name | ) | const |
Operator that allows to verify if its lower than other
| reference | to the object(const ranking_helper2 &) |
| ranking_helper2 & operator= | ( | const ranking_helper2 & | orig | ) |
Operator that allows to assign one object to other
| reference | to the object(const ranking_helper2 &) |