OpenMS
Loading...
Searching...
No Matches
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.
 

Private Attributes

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

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
[in]center_pointPointer to the center point
[in]num_mapsNumber of input maps
[in]max_distanceMaximum allowed distance of two points
[in]x_coordThe x-coordinate in the grid cell
[in]y_coordThe y-coordinate in the grid cell
[in]idUnique ID of this cluster

Friends And Related Symbol 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