| OpenMS 2.5.0

Public Member Functions | Private Attributes | List of all members
MultiplexClustering::MultiplexDistance Class Reference

scaled Euclidean distance for clustering More...

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

## Public Member Functions

| MultiplexDistance (double rt_scaling)
| constructor More...
| MultiplexDistance ()
| constructor More...
double | operator() (Point p1, Point p2)
| 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_scaling | scaling of RT coordinates before calculating Euclidean distance

## ◆ MultiplexDistance() [2/2]

MultiplexDistance | ( |  | ) |

constructor

## Member Function Documentation

## ◆ operator()()

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

returns Euclidean distance

Parameters

  p1 | first point in the (m/z,RT) plane
  p2 | second point in the (m/z,RT) plane

Returns
  distance

## Member Data Documentation

## ◆ rt_scaling_

double rt_scaling_

private