53 float operator()(
const std::pair<float, float> & a,
const std::pair<float, float> & b)
const;
CompareFunctor for 2Dpoints.
Definition: EuclideanSimilarity.h:25
float scale_
Definition: EuclideanSimilarity.h:28
float operator()(const std::pair< float, float > &a, const std::pair< float, float > &b) const
calculates similarity between two points in euclidean space
virtual ~EuclideanSimilarity()
destructor
EuclideanSimilarity & operator=(const EuclideanSimilarity &source)
assignment operator
EuclideanSimilarity(const EuclideanSimilarity &source)
copy constructor
EuclideanSimilarity()
default constructor
void setScale(float x)
clusters the indices according to their respective element distances
float operator()(const std::pair< float, float > &c) const
calculates self similarity, will yield 0
const double c
Definition: Constants.h:188
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19