#include <AgglomCluster.hpp>
Inheritance diagram for lemur::cluster::AgglomCluster:

Public Member Functions | |
| AgglomCluster (int cid, const lemur::api::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.   | |
Private Member Functions | |
| double | score_min (const ClusterRep *rep) const | 
| Score the rep using min.   | |
| double | score_max (const ClusterRep *rep) const | 
| Score the rep using max.   | |
| double | score_mean (const ClusterRep *rep) const | 
| Score the rep using mean.   | |
| double | score_ave (const ClusterRep *rep) const | 
| Score the rep using average.   | |
Private Attributes | |
| enum ClusterParam::docModes | docmode | 
| Scoring mode to use.   | |
      
  | 
  ||||||||||||||||||||
| 
 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 lemur::cluster::Cluster.  | 
  
      
  | 
  
| 
 score a document against this cluster, given the rep. 
 Implements lemur::cluster::Cluster.  | 
  
      
  | 
  
| 
 Score the rep using average. 
  | 
  
      
  | 
  
| 
 Score the rep using max. 
  | 
  
      
  | 
  
| 
 Score the rep using mean. 
  | 
  
      
  | 
  
| 
 Score the rep using min. 
  | 
  
      
  | 
  
| 
 Sum of squared values in the cluster's term vector. 
 Reimplemented from lemur::cluster::Cluster.  | 
  
      
  | 
  
| 
 Scoring mode to use. 
  | 
  
 
1.3.4