47 #ifndef OPENMS_COMPARISON_CLUSTERING_GRIDBASEDCLUSTER_H 48 #define OPENMS_COMPARISON_CLUSTERING_GRIDBASEDCLUSTER_H 71 GridBasedCluster(
const Point ¢re,
const Rectangle &bounding_box,
const std::vector<int> &point_indices,
const int &property_A,
const std::vector<int> &properties_B);
76 GridBasedCluster(
const Point ¢re,
const Rectangle &bounding_box,
const std::vector<int> &point_indices);
81 Point getCentre()
const;
86 Rectangle getBoundingBox()
const;
91 std::vector<int> getPoints()
const;
96 int getPropertyA()
const;
101 std::vector<int> getPropertiesB()
const;
std::vector< int > properties_B_
Definition: GridBasedCluster.h:136
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
int property_A_
properties A and B Each point in a cluster can (optionally) possess two properties A and B...
Definition: GridBasedCluster.h:135
std::vector< int > point_indices_
set of indices referencing the points in the cluster
Definition: GridBasedCluster.h:125
Rectangle bounding_box_
bounding box of the cluster i.e. (min,max) in x and y direction
Definition: GridBasedCluster.h:120
DBoundingBox< 2 > Rectangle
Definition: GridBasedCluster.h:66
Point centre_
centre of the cluster
Definition: GridBasedCluster.h:114
DPosition< 2 > Point
Definition: GridBasedCluster.h:61
basic data structure for clustering
Definition: GridBasedCluster.h:55