36 #ifndef OPENMS_DATASTRUCTURES_QTCLUSTER_H 
   37 #define OPENMS_DATASTRUCTURES_QTCLUSTER_H 
   41 #include <boost/unordered_map.hpp> 
   50 #if OPENMS_BOOST_VERSION_MINOR > 47 
   51       using namespace boost::unordered;
 
   53       using namespace boost;
 
   85     typedef OpenMSBoost::unordered_map<Size, std::multimap<DoubleReal, GridFeature *> > 
NeighborMap;
 
  123     void computeQuality_();
 
  170     void getElements(OpenMSBoost::unordered_map<Size, GridFeature *> & elements);
 
  176     bool update(
const OpenMSBoost::unordered_map<Size, GridFeature *> & removed);
 
  182     const std::set<AASequence> & getAnnotations();
 
  193 #endif // OPENMS_DATASTRUCTURES_QTCLUSTER_H 
std::set< AASequence > annotations_
Set of annotations of the cluster. 
Definition: QTCluster.h:117
DoubleReal max_distance_
Maximum distance of a point that can still belong to the cluster. 
Definition: QTCluster.h:98
void setInvalid()
Definition: QTCluster.h:184
A representation of a QT cluster used for feature grouping. 
Definition: QTCluster.h:77
NeighborMap neighbors_
Neighbors of the cluster center, sorted by distance, for different input maps. 
Definition: QTCluster.h:95
DoubleReal quality_
Quality of the cluster. 
Definition: QTCluster.h:104
NeighborMap getNeighbors()
Definition: QTCluster.h:188
OpenMSBoost::unordered_map< Size, std::multimap< DoubleReal, GridFeature * > > NeighborMap
Mapping: input map -> distance to center (ordered!) -> neighboring point. 
Definition: QTCluster.h:85
GridFeature * center_point_
Pointer to the cluster center. 
Definition: QTCluster.h:88
Representation of a feature in a hash grid. 
Definition: GridFeature.h:50
bool use_IDs_
Keep track of peptide IDs and use them for matching? 
Definition: QTCluster.h:110
bool changed_
Has the cluster changed (if yes, quality needs to be recomputed)? 
Definition: QTCluster.h:107
Size num_maps_
Number of input maps. 
Definition: QTCluster.h:101
bool isInvalid()
Definition: QTCluster.h:186
size_t Size
Size type e.g. used as variable which can hold result of size() 
Definition: Types.h:144
bool valid_
Definition: QTCluster.h:134