11#ifndef _HIERARCHCLUSTERPICKER_H
12#define _HIERARCHCLUSTERPICKER_H
44 : d_method(clusterMethod) {}
79 unsigned int pickSize)
const override;
100 unsigned int pickSize)
const;
Abstract base class to do perform item picking (typically molecules) using a distance matrix.
Diversity picker based on hierarchical clustering.
HierarchicalClusterPicker(ClusterMethod clusterMethod)
Constructor - takes a ClusterMethod as an argument.
RDKit::INT_VECT pick(const double *distMat, unsigned int poolSize, unsigned int pickSize) const override
This is the function that does the picking.
RDKit::VECT_INT_VECT cluster(const double *distMat, unsigned int poolSize, unsigned int pickSize) const
This is the function that does the clustering of the items - used by the picker.
ClusterMethod
The type of hierarchical clustering algorithm to use.
#define RDKIT_SIMDIVPICKERS_EXPORT
std::vector< int > INT_VECT
std::vector< INT_VECT > VECT_INT_VECT