| OpenMS 2.5.0

Public Member Functions | List of all members
IDBoostGraph::SetPosteriorVisitor Class Reference

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

Inheritance diagram for IDBoostGraph::SetPosteriorVisitor:

## 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 (ptrs to an ID Object) 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

References PeptideHit::setScore().

## ◆ operator()() [2/4]

void operator() | ( | ProteinHit * | prot,
|  | double | posterior
| ) |  | const

inline

References ProteinHit::setScore().

## ◆ operator()() [3/4]

void operator() | ( | ProteinGroup & | pg,
|  | double | posterior
| ) |  | const

inline

## ◆ operator()() [4/4]

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

inline