OpenMS
Loading...
Searching...
No Matches
IDBoostGraph::GetScoreTgTVisitor Class Reference

Visits nodes in the boost graph (either ptrs to an ID Object or some lightweight surrogates) and depending on their type gets the score (usually the posterior) plus if it is a decoy or a target. More...

#include <OpenMS/ANALYSIS/ID/IDBoostGraph.h>

Inheritance diagram for IDBoostGraph::GetScoreTgTVisitor:
[legend]
Collaboration diagram for IDBoostGraph::GetScoreTgTVisitor:
[legend]

Public Member Functions

std::pair< double, bool > operator() (PeptideHit *pep) const
 
std::pair< double, bool > operator() (ProteinHit *prot) const
 
std::pair< double, bool > operator() (ProteinGroup &pg) const
 
template<class T >
std::pair< double, bool > operator() (T &) const
 

Detailed Description

Visits nodes in the boost graph (either ptrs to an ID Object or some lightweight surrogates) and depending on their type gets the score (usually the posterior) plus if it is a decoy or a target.

Exceptions
Exception::MissingInformationif a hit's target/decoy status is unknown (the "target_decoy" meta value is not set; run PeptideIndexer first). Previously a missing value was silently misclassified as a decoy.

Member Function Documentation

◆ operator()() [1/4]

std::pair< double, bool > operator() ( PeptideHit pep) const
inline

◆ operator()() [2/4]

std::pair< double, bool > operator() ( ProteinGroup pg) const
inline

◆ operator()() [3/4]

std::pair< double, bool > operator() ( ProteinHit prot) const
inline

◆ operator()() [4/4]

template<class T >
std::pair< double, bool > operator() ( T &  ) const
inline