#include <ClusteringAlgorithm.h>
Inheritance diagram for prapi::clustering::ClusteringAlgorithm< T, I, C >:

It also provides some useful methods for updating cluster representatives, refining the clustering result etc.
Public Methods | |
|
virtual List< Cluster< T, I, C > > | getClustering (const List< Sample< T, I, C > > &samples, const ProximityMeasure< T > &measure)=0 |
| virtual void | updateRepresentative (Cluster< T, I, C > &cluster) |
| Update the representative for a cluster. | |
| void | merge (List< Cluster< T, I, C > > &clusters, ProximityMeasure< T > *measure, double threshold) |
| Perform a merging procedure after the clusters have been formed. | |
|
||||||||||||||||||||
|
Perform a merging procedure after the clusters have been formed.
|
|
||||||||||
|
Update the representative for a cluster. The default implementation calculates the mean of each feature vector component. |