58 void apply_(std::vector<PeptideIdentification>& ids,
59 const std::map<String, String>& se_info,
Representation of a peptide/protein sequence.
Definition: AASequence.h:86
Abstract base class for ConsensusID algorithms that take peptide similarity into account.
Definition: ConsensusIDAlgorithmSimilarity.h:30
SimilarityCache similarities_
Cache for already computed sequence similarities.
Definition: ConsensusIDAlgorithmSimilarity.h:39
std::map< std::pair< AASequence, AASequence >, double > SimilarityCache
Mapping: pair of peptide sequences -> sequence similarity.
Definition: ConsensusIDAlgorithmSimilarity.h:36
virtual double getSimilarity_(AASequence seq1, AASequence seq2)=0
Sequence similarity calculation (to be implemented by subclasses).
void apply_(std::vector< PeptideIdentification > &ids, const std::map< String, String > &se_info, SequenceGrouping &results) override
Consensus scoring.
ConsensusIDAlgorithmSimilarity(const ConsensusIDAlgorithmSimilarity &)
Not implemented.
ConsensusIDAlgorithmSimilarity & operator=(const ConsensusIDAlgorithmSimilarity &)
Not implemented.
ConsensusIDAlgorithmSimilarity()
Default constructor.
Abstract base class for all ConsensusID algorithms (that calculate a consensus from multiple ID runs)...
Definition: ConsensusIDAlgorithm.h:34
std::map< AASequence, HitInfo > SequenceGrouping
Mapping: peptide sequence -> (charge, scores)
Definition: ConsensusIDAlgorithm.h:71
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19