Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Classes | Public Member Functions | Public Attributes | List of all members
SimpleExtender< PeakType, FeatureType >::IndexWithPriority Struct Reference

A helper structure to sort indizes by their priority. More...

#include <OpenMS/TRANSFORMATIONS/FEATUREFINDER/SimpleExtender.h>

Classes

struct  PriorityLess
 Compares two indizes by priority. More...
 

Public Member Functions

 IndexWithPriority (const FeatureFinderDefs::IndexPair &i, DoubleReal p)
 

Public Attributes

IndexPair index
 
ProbabilityType priority
 

Detailed Description

template<class PeakType, class FeatureType>
struct OpenMS::SimpleExtender< PeakType, FeatureType >::IndexWithPriority

A helper structure to sort indizes by their priority.

This structure is used to keep track of the boundary of a feature. After a peak is found during the extension phase, we compute its priority (which is dependant on its distance from the point that was the last to be extracted from the boundary and its intensity). If this priority is large enough, we include the point into the boundary. The boundary (which is implemented as mutable priority queue) sorts the peaks by this priority.

Constructor & Destructor Documentation

Member Data Documentation

IndexPair index
ProbabilityType priority

OpenMS / TOPP release 1.11.1 Documentation generated on Thu Nov 14 2013 11:19:34 using doxygen 1.8.5