Base class for all Caap evaluation algorithms. More...
#include <OpenMS/ANALYSIS/MAPMATCHING/MapAlignmentEvaluationAlgorithm.h>
Public Member Functions | |
MapAlignmentEvaluationAlgorithm () | |
Default constructor. More... | |
virtual | ~MapAlignmentEvaluationAlgorithm () |
Destructor. More... | |
virtual void | evaluate (const ConsensusMap &conensus_map_in, const ConsensusMap &consensus_map_gt, const double &rt_dev, const double &mz_dev, const Peak2D::IntensityType &int_dev, const bool use_charge, double &out)=0 |
Applies the algorithm. The input consensus map is compared to the ground truth. More... | |
bool | isSameHandle (const FeatureHandle &lhs, const FeatureHandle &rhs, const double &rt_dev, const double &mz_dev, const Peak2D::IntensityType &int_dev, const bool use_charge) |
Decides if two features are the same, based on maximum allowed deviations for retention time, m/z and intensity. More... | |
Static Public Member Functions | |
static void | registerChildren () |
Register all derived classes in this method. More... | |
Protected Types | |
typedef ConsensusFeature::HandleSetType::const_iterator | HandleIterator |
Private Member Functions | |
MapAlignmentEvaluationAlgorithm (const MapAlignmentEvaluationAlgorithm &) | |
Copy constructor is not implemented -> private. More... | |
MapAlignmentEvaluationAlgorithm & | operator= (const MapAlignmentEvaluationAlgorithm &) |
Assignment operator is not implemented -> private. More... | |
Base class for all Caap evaluation algorithms.
These algorithms evaluates alignment results against a ground truth.
|
protected |
Default constructor.
|
virtual |
Destructor.
|
private |
Copy constructor is not implemented -> private.
|
pure virtual |
Applies the algorithm. The input consensus map is compared to the ground truth.
Implemented in MapAlignmentEvaluationAlgorithmPrecision, and MapAlignmentEvaluationAlgorithmRecall.
bool isSameHandle | ( | const FeatureHandle & | lhs, |
const FeatureHandle & | rhs, | ||
const double & | rt_dev, | ||
const double & | mz_dev, | ||
const Peak2D::IntensityType & | int_dev, | ||
const bool | use_charge | ||
) |
Decides if two features are the same, based on maximum allowed deviations for retention time, m/z and intensity.
|
private |
Assignment operator is not implemented -> private.
|
static |
Register all derived classes in this method.
OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:10 using doxygen 1.8.13 |