|
OpenMS
2.6.0
|
Go to the documentation of this file.
76 ClusteringGrid(
const std::vector<double> &grid_spacing_x,
const std::vector<double> &grid_spacing_y);
81 std::vector<double> getGridSpacingX()
const;
86 std::vector<double> getGridSpacingY()
const;
94 void addCluster(
const CellIndex &cell_index,
const int &cluster_index);
103 void removeCluster(
const CellIndex &cell_index,
const int &cluster_index);
108 void removeAllClusters();
116 std::list<int> getClusters(
const CellIndex &cell_index)
const;
135 bool isNonEmptyCell(
const CellIndex &cell_index)
const;
142 int getCellCount()
const;
160 std::map<CellIndex, std::list<int> >
cells_;
data structure to store 2D data to be clustered e.g. (m/z, retention time) coordinates from multiplex...
Definition: ClusteringGrid.h:56
std::pair< double, double > range_y_
Definition: ClusteringGrid.h:155
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
std::pair< double, double > range_x_
[min, max] of the grid in x and y direction
Definition: ClusteringGrid.h:154
DPosition< 2 > Point
Definition: ClusteringGrid.h:67
std::pair< int, int > CellIndex
Definition: ClusteringGrid.h:62
const std::vector< double > grid_spacing_x_
spacing of the grid in x and y direction
Definition: ClusteringGrid.h:148
std::map< CellIndex, std::list< int > > cells_
grid cell index mapped to a list of clusters in it
Definition: ClusteringGrid.h:160
const std::vector< double > grid_spacing_y_
Definition: ClusteringGrid.h:149
Size< TNeedle >::Type position(const PatternAuxData< TNeedle > &dh)
Definition: AhoCorasickAmbiguous.h:561