GClasses
|
This merges each cluster with its closest neighbor. (The distance between clusters is computed as the distance between the closest members of the clusters times (n^b), where n is the total number of points from both clusters, and b is a balancing factor. More...
#include <GCluster.h>
Public Member Functions | |
GAgglomerativeClusterer (size_t nClusterCount) | |
virtual | ~GAgglomerativeClusterer () |
virtual void | cluster (GMatrix *pData) |
Performs clustering. | |
virtual size_t | whichCluster (size_t nVector) |
Identifies the cluster of the specified row. | |
Static Public Member Functions | |
static void | test () |
Performs unit tests for this class. Throws an exception if there is a failure. | |
Protected Attributes | |
size_t * | m_pClusters |
This merges each cluster with its closest neighbor. (The distance between clusters is computed as the distance between the closest members of the clusters times (n^b), where n is the total number of points from both clusters, and b is a balancing factor.
GClasses::GAgglomerativeClusterer::GAgglomerativeClusterer | ( | size_t | nClusterCount | ) |
virtual GClasses::GAgglomerativeClusterer::~GAgglomerativeClusterer | ( | ) | [virtual] |
virtual void GClasses::GAgglomerativeClusterer::cluster | ( | GMatrix * | pData | ) | [virtual] |
Performs clustering.
Implements GClasses::GClusterer.
static void GClasses::GAgglomerativeClusterer::test | ( | ) | [static] |
Performs unit tests for this class. Throws an exception if there is a failure.
virtual size_t GClasses::GAgglomerativeClusterer::whichCluster | ( | size_t | nVector | ) | [virtual] |
Identifies the cluster of the specified row.
Implements GClasses::GClusterer.
size_t* GClasses::GAgglomerativeClusterer::m_pClusters [protected] |