AhcCluster is the cluster object for the agglomerative clustering. More...
#include <agglomerative-clustering.h>
Public Member Functions | |
AhcCluster (int32 id, int32 p1, int32 p2, std::vector< int32 > utts) | |
Public Attributes | |
int32 | id |
int32 | parent1 |
int32 | parent2 |
int32 | size |
std::vector< int32 > | utt_ids |
AhcCluster is the cluster object for the agglomerative clustering.
It contains three integer IDs: its own ID and the IDs of its "parents", i.e. the clusters that were merged to form it. It also contains the size (the number of points in the cluster) and a vector of the IDs of the utterances contained in the cluster.
Definition at line 41 of file agglomerative-clustering.h.
|
inline |
Definition at line 47 of file agglomerative-clustering.h.
int32 id |
Definition at line 42 of file agglomerative-clustering.h.
Referenced by AgglomerativeClusterer::MergeClusters().
int32 parent1 |
Definition at line 42 of file agglomerative-clustering.h.
Referenced by AgglomerativeClusterer::MergeClusters().
int32 parent2 |
Definition at line 42 of file agglomerative-clustering.h.
Referenced by AgglomerativeClusterer::MergeClusters().
int32 size |
Definition at line 42 of file agglomerative-clustering.h.
Referenced by AgglomerativeClusterer::AddClustersToSecondPass(), and AgglomerativeClusterer::MergeClusters().
std::vector<int32> utt_ids |
Definition at line 46 of file agglomerative-clustering.h.
Referenced by AgglomerativeClusterer::AddClustersToSecondPass(), AgglomerativeClusterer::AssignClusters(), and AgglomerativeClusterer::MergeClusters().