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.