OpenMS
QTCluster::BulkData Class Reference

Class to store the bulk internal data (neighbors, annotations, etc.) More...

#include <OpenMS/DATASTRUCTURES/QTCluster.h>

Collaboration diagram for QTCluster::BulkData:
[legend]

Public Member Functions

 BulkData (const OpenMS::GridFeature *const center_point, Size num_maps, double max_distance, Int x_coord, Int y_coord, Size id)
 Detailed constructor of the cluster body. More...
 

Private Attributes

const GridFeature *const center_point_
 Pointer to the cluster center. More...
 
Size id_
 unique id of this cluster More...
 
NeighborMap neighbors_
 Map that keeps track of the best current feature for each map. More...
 
NeighborMapMulti tmp_neighbors_
 Temporary map tracking *all* neighbors. More...
 
double max_distance_
 Maximum distance of a point that can still belong to the cluster. More...
 
Size num_maps_
 Number of input maps. More...
 
Int x_coord_
 x coordinate in the grid cell More...
 
Int y_coord_
 y coordinate in the grid cell More...
 
std::set< AASequenceannotations_
 Set of annotations of the cluster. More...
 

Friends

class QTCluster
 

Detailed Description

Class to store the bulk internal data (neighbors, annotations, etc.)

Has no functionality without a QTCluster pointing to it. Create object of this class before calling constructor of QTCluster

Constructor & Destructor Documentation

◆ BulkData()

BulkData ( const OpenMS::GridFeature *const  center_point,
Size  num_maps,
double  max_distance,
Int  x_coord,
Int  y_coord,
Size  id 
)

Detailed constructor of the cluster body.

Parameters
center_pointPointer to the center point
num_mapsNumber of input maps
max_distanceMaximum allowed distance of two points
idUnique ID of this cluster

Friends And Related Function Documentation

◆ QTCluster

friend class QTCluster
friend

Member Data Documentation

◆ annotations_

std::set<AASequence> annotations_
private

Set of annotations of the cluster.

The set of peptide sequences that is compatible to the cluster center and results in the best cluster quality.

◆ center_point_

const GridFeature* const center_point_
private

Pointer to the cluster center.

◆ id_

Size id_
private

unique id of this cluster

◆ max_distance_

double max_distance_
private

Maximum distance of a point that can still belong to the cluster.

◆ neighbors_

NeighborMap neighbors_
private

Map that keeps track of the best current feature for each map.

◆ num_maps_

Size num_maps_
private

Number of input maps.

◆ tmp_neighbors_

NeighborMapMulti tmp_neighbors_
private

Temporary map tracking *all* neighbors.

For each input run, a multimap which contains pointers to all neighboring elements and the respective distance.

◆ x_coord_

Int x_coord_
private

x coordinate in the grid cell

◆ y_coord_

Int y_coord_
private

y coordinate in the grid cell