OpenMS  2.7.0
Public Member Functions | Protected Attributes | List of all members
TargetedSpectraExtractor::Comparator Class Referenceabstract

#include <OpenMS/ANALYSIS/OPENSWATH/TargetedSpectraExtractor.h>

Inheritance diagram for TargetedSpectraExtractor::Comparator:
[legend]
Collaboration diagram for TargetedSpectraExtractor::Comparator:
[legend]

Public Member Functions

virtual ~Comparator ()=default
 
virtual void generateScores (const MSSpectrum &spec, std::vector< std::pair< Size, double >> &scores, double min_score) const =0
 
virtual void init (const std::vector< MSSpectrum > &library, const std::map< String, DataValue > &options)=0
 
const std::vector< MSSpectrum > & getLibrary () const
 

Protected Attributes

std::vector< MSSpectrumlibrary_
 

Constructor & Destructor Documentation

◆ ~Comparator()

virtual ~Comparator ( )
virtualdefault

Member Function Documentation

◆ generateScores()

virtual void generateScores ( const MSSpectrum spec,
std::vector< std::pair< Size, double >> &  scores,
double  min_score 
) const
pure virtual

◆ getLibrary()

const std::vector<MSSpectrum>& getLibrary ( ) const
inline

◆ init()

virtual void init ( const std::vector< MSSpectrum > &  library,
const std::map< String, DataValue > &  options 
)
pure virtual

Member Data Documentation

◆ library_

std::vector<MSSpectrum> library_
protected