Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

SimpleExtender::IndexWithPriority Struct Reference

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

List of all members.


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.

Public Member Functions

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

Public Attributes

IndexPair index
ProbabilityType priority

Classes

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


Constructor & Destructor Documentation

IndexWithPriority ( const FeatureFinderDefs::IndexPair i,
DoubleReal  p 
) [inline]


Member Data Documentation

IndexPair index

ProbabilityType priority


The documentation for this struct was generated from the following file:
Generated Tue Apr 1 15:36:48 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1