84 return "SpectrumPrecursorComparator";
The representation of a 1D spectrum.
Definition: MSSpectrum.h:70
Base class for compare functors of spectra, that return a similarity value for two spectra.
Definition: PeakSpectrumCompareFunctor.h:54
SpectrumPrecursorComparator compares just the parent mass of two spectra.
Definition: SpectrumPrecursorComparator.h:51
double operator()(const PeakSpectrum &a, const PeakSpectrum &b) const override
function call operator, calculates the similarity
SpectrumPrecursorComparator(const SpectrumPrecursorComparator &source)
copy constructor
SpectrumPrecursorComparator()
default constructor
SpectrumPrecursorComparator & operator=(const SpectrumPrecursorComparator &source)
assignment operator
double operator()(const PeakSpectrum &a) const override
calculates self similarity
~SpectrumPrecursorComparator() override
destructor
static PeakSpectrumCompareFunctor * create()
Definition: SpectrumPrecursorComparator.h:79
static const String getProductName()
Definition: SpectrumPrecursorComparator.h:82
A more convenient string class.
Definition: String.h:60
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48