OpenMS
MultiplexClustering::MultiplexDistance Class Reference

scaled Euclidean distance for clustering More...

#include <OpenMS/TRANSFORMATIONS/FEATUREFINDER/MultiplexClustering.h>

Collaboration diagram for MultiplexClustering::MultiplexDistance:
[legend]

Public Member Functions

 MultiplexDistance (double rt_scaling)
 constructor More...
 
 MultiplexDistance ()
 constructor More...
 
double operator() (const Point &p1, const Point &p2) const
 returns Euclidean distance More...
 

Private Attributes

double rt_scaling_
 

Detailed Description

scaled Euclidean distance for clustering

Constructor & Destructor Documentation

◆ MultiplexDistance() [1/2]

MultiplexDistance ( double  rt_scaling)

constructor

Parameters
rt_scalingscaling of RT coordinates before calculating Euclidean distance

◆ MultiplexDistance() [2/2]

constructor

Member Function Documentation

◆ operator()()

double operator() ( const Point p1,
const Point p2 
) const

returns Euclidean distance

Parameters
p1first point in the (m/z,RT) plane
p2second point in the (m/z,RT) plane
Returns
distance

Member Data Documentation

◆ rt_scaling_

double rt_scaling_
private