OpenMS
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. If not known or not defined, returns (-1.0, false) 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. If not known or not defined, returns (-1.0, false)

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]

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