OpenMS
IDBoostGraph::SetPosteriorVisitor Class Reference

Visits nodes in the boost graph (either ptrs to an ID Object or some lightweight surrogates) and depending on their type sets the posterior Don't forget to set higherScoreBetter and score names in the parent ID objects. More...

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

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

Public Member Functions

void operator() (PeptideHit *pep, double posterior) const
 
void operator() (ProteinHit *prot, double posterior) const
 
void operator() (ProteinGroup &pg, double posterior) const
 
template<class T >
void operator() (T &, double) const
 

Detailed Description

Visits nodes in the boost graph (either ptrs to an ID Object or some lightweight surrogates) and depending on their type sets the posterior Don't forget to set higherScoreBetter and score names in the parent ID objects.

Member Function Documentation

◆ operator()() [1/4]

void operator() ( PeptideHit pep,
double  posterior 
) const
inline

◆ operator()() [2/4]

void operator() ( ProteinGroup pg,
double  posterior 
) const
inline

◆ operator()() [3/4]

void operator() ( ProteinHit prot,
double  posterior 
) const
inline

◆ operator()() [4/4]

void operator() ( T &  ,
double   
) const
inline