Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

AgglomCluster Class Reference

#include <AgglomCluster.hpp>

Inheritance diagram for AgglomCluster:

Cluster List of all members.

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 ClusterRepgetClusterRep () 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.


Detailed Description

K nearest neighbors clustering of documents. d_ave, d_min, d_max, d_mean scoring methods.


Constructor & Destructor Documentation

AgglomCluster::AgglomCluster int    cid,
const Index   ind,
const SimilarityMethod   sim,
enum ClusterParam::docModes    mode
[inline]
 

initialize

virtual AgglomCluster::~AgglomCluster   [inline, virtual]
 

clean up


Member Function Documentation

ClusterRep * AgglomCluster::getClusterRep   [virtual]
 

Get the ClusterRep for this Cluster for scoring. The Rep will have been weighted by the SimilarityMethod. Caller responsible for deleting.

Implements Cluster.

double AgglomCluster::score const ClusterRep   rep const [virtual]
 

score a document against this cluster, given the rep.

Implements Cluster.

double AgglomCluster::sum2   [virtual]
 

Sum of squared values in the cluster's term vector.

Reimplemented from Cluster.


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:22 2004 for Lemur Toolkit by doxygen1.2.18