#include <AgglomCluster.hpp>
Inheritance diagram for AgglomCluster:
Public Methods | |
AgglomCluster (int cid, const Index &ind, const SimilarityMethod &sim, enum ClusterParam::docModes mode) | |
initialize | |
virtual | ~AgglomCluster () |
clean up | |
virtual double | score (const ClusterRep *rep) const |
score a document against this cluster, given the rep. | |
virtual ClusterRep * | getClusterRep () const |
Get the ClusterRep for this Cluster for scoring. The Rep will have been weighted by the SimilarityMethod. Caller responsible for deleting. | |
virtual double | sum2 () const |
Sum of squared values in the cluster's term vector. |
|
initialize
|
|
clean up
|
|
Get the ClusterRep for this Cluster for scoring. The Rep will have been weighted by the SimilarityMethod. Caller responsible for deleting.
Implements Cluster. |
|
score a document against this cluster, given the rep.
Implements Cluster. |
|
Sum of squared values in the cluster's term vector.
Reimplemented from Cluster. |