OpenMS
Loading...
Searching...
No Matches
SteinScottImproveScore.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Timo Sachsenberg $
6// $Authors: Vipul Patel $
7// --------------------------------------------------------------------------
8//
9#pragma once
10
12#include <cmath>
13
14namespace OpenMS
15{
48 class OPENMS_DLLAPI SteinScottImproveScore :
50 {
51
52public:
66 double operator()(const PeakSpectrum & spec1, const PeakSpectrum & spec2) const override;
72 double operator()(const PeakSpectrum & spec) const override;
73 };
74}
75
76
The representation of a 1D spectrum.
Definition MSSpectrum.h:44
Base class for compare functors of spectra, that return a similarity value for two spectra.
Definition PeakSpectrumCompareFunctor.h:28
Similarity score based of Stein & Scott.
Definition SteinScottImproveScore.h:50
SteinScottImproveScore(const SteinScottImproveScore &source)
copy constructor
double operator()(const PeakSpectrum &spec1, const PeakSpectrum &spec2) const override
Similarity pairwise score.
double operator()(const PeakSpectrum &spec) const override
Similarity pairwise score itself.
~SteinScottImproveScore() override
destructor
SteinScottImproveScore()
default constructor
SteinScottImproveScore & operator=(const SteinScottImproveScore &source)
assignment operator
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19