Class returning the list of sample IDs for a quick search within a Db. More...
#include <RankHandler.hpp>
Class returning the list of sample IDs for a quick search within a Db.
The main functionality of this class is to return the list of samples per variable, within a given list of elligible sample ranks (neighborhood)
Public Member Functions | |
| RankHandler (const Db *db, bool useSel=true, bool useZ=true, bool useVerr=false, bool useExtD=true) | |
| RankHandler (const RankHandler &r) | |
| RankHandler & | operator= (const RankHandler &r) |
| virtual | ~RankHandler () |
| void | defineSampleRanks (const VectorInt &nbgh=VectorInt()) |
| const VectorInt & | getSampleRanks (int ivar) const |
| const VectorVectorInt & | getSampleRanks () const |
| const VectorInt & | getSampleRanksByVariable (int ivar) const |
| const VectorDouble & | getZflatten () const |
| int | getNumber () const |
| Return the total number of samples. | |
| int | getCount (int ivar) const |
| Get the number of active samples for a given variable. | |
| int | getTotalCount () const |
| Get the total number of active samples for all variables. | |
| int | identifyVariableRank (int ipos) const |
| int | identifySampleRank (int ipos) const |
| void | dump (bool flagFull=false) const |
| RankHandler::RankHandler | ( | const Db * | db, |
| bool | useSel = true, |
||
| bool | useZ = true, |
||
| bool | useVerr = false, |
||
| bool | useExtD = true |
||
| ) |
| RankHandler::RankHandler | ( | const RankHandler & | r | ) |
|
virtual |
Defines the list of indices 'index' for valid samples for the set of variables (Z locator)
| nbgh | Vector giving the ranks of the elligible samples (optional) |
| void RankHandler::dump | ( | bool | flagFull = false | ) | const |
| int RankHandler::getCount | ( | int | ivar | ) | const |
Get the number of active samples for a given variable.
| ivar | Rank of the target variable |
| int RankHandler::getNumber | ( | ) | const |
Return the total number of samples.
|
inline |
|
inline |
|
inline |
| int RankHandler::getTotalCount | ( | ) | const |
Get the total number of active samples for all variables.
|
inline |
| int RankHandler::identifySampleRank | ( | int | ipos | ) | const |
| int RankHandler::identifyVariableRank | ( | int | ipos | ) | const |
| RankHandler & RankHandler::operator= | ( | const RankHandler & | r | ) |