Trait for MatchedIterator to find pairs with a certain distance, which is computed directly on the value_type of the container.
More...
#include <OpenMS/DATASTRUCTURES/MatchedIterator.h>
|
template<typename T > |
static float | allowedTol (float tol, const T &) |
|
template<typename T > |
static T | getDiffAbsolute (const T &elem_ref, const T &elem_tgt) |
| just use fabs on the value directly More...
|
|
Trait for MatchedIterator to find pairs with a certain distance, which is computed directly on the value_type of the container.
◆ allowedTol()
static float allowedTol |
( |
float |
tol, |
|
|
const T & |
|
|
) |
| |
|
inlinestatic |
◆ getDiffAbsolute()
static T getDiffAbsolute |
( |
const T & |
elem_ref, |
|
|
const T & |
elem_tgt |
|
) |
| |
|
inlinestatic |
just use fabs on the value directly