85 double operator()(
const PeakSpectrum & a)
const override;
96 return "SpectrumCheapDPCorr";
103 std::map<UInt, UInt> getPeakMap()
const;
106 void setFactor(
double f);
115 double comparepeaks_(
double posa,
double posb,
double inta,
double intb)
const;
A more convenient string class.
Definition: String.h:58
static const String getProductName()
Definition: SpectrumCheapDPCorr.h:94
bool keeppeaks_
should peaks with no alignment partner be kept in the consensus?
Definition: SpectrumCheapDPCorr.h:123
static const String info_
Definition: SpectrumCheapDPCorr.h:117
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
static PeakSpectrumCompareFunctor * create()
Definition: SpectrumCheapDPCorr.h:91
The representation of a 1D spectrum.
Definition: MSSpectrum.h:66
PeakSpectrum lastconsensus_
consensus spectrum of the last comparison
Definition: SpectrumCheapDPCorr.h:120
Base class for compare functors of spectra, that return a similarity value for two spectra...
Definition: PeakSpectrumCompareFunctor.h:52
double factor_
weighting factor for the next consensus spectrum
Definition: SpectrumCheapDPCorr.h:126
SpectrumCheapDPCorr calculates an optimal alignment on stick spectra.
Definition: SpectrumCheapDPCorr.h:61
std::map< UInt, UInt > peak_map_
last peak map
Definition: SpectrumCheapDPCorr.h:129