44 #include <boost/math/special_functions/erf.hpp>
105 return "SpectrumAlignmentScore";
The representation of a 1D spectrum.
Definition: MSSpectrum.h:71
Base class for compare functors of spectra, that return a similarity value for two spectra.
Definition: PeakSpectrumCompareFunctor.h:54
Similarity score via spectra alignment.
Definition: SpectrumAlignmentScore.h:71
~SpectrumAlignmentScore() override
destructor
double operator()(const PeakSpectrum &spec1, const PeakSpectrum &spec2) const override
function call operator, calculates the similarity
double operator()(const PeakSpectrum &spec) const override
calculates self similarity
static PeakSpectrumCompareFunctor * create()
Definition: SpectrumAlignmentScore.h:100
SpectrumAlignmentScore & operator=(const SpectrumAlignmentScore &source)
assignment operator
SpectrumAlignmentScore()
default constructor
static const String getProductName()
Definition: SpectrumAlignmentScore.h:103
SpectrumAlignmentScore(const SpectrumAlignmentScore &source)
copy constructor
A more convenient string class.
Definition: String.h:61
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47