Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lemur::cluster::ClusterFactory Class Reference

Factory class for making Cluster instances. More...

#include <ClusterFactory.hpp>

List of all members.

Public Member Functions

 ClusterFactory (const lemur::api::Index &ind, const SimilarityMethod &simMethod, enum ClusterParam::clusterTypes clusterType=ClusterParam::CENTROID, enum ClusterParam::docModes docMode=ClusterParam::DMAX)
 initialize the factory for the specific cluster type.

ClusterallocateCluster (int clusterID=1)
 Make an instance of the appropriate cluster type.


Private Attributes

const lemur::api::Indexindex
const SimilarityMethodsim
enum ClusterParam::clusterTypes cType
enum ClusterParam::docModes dMode


Detailed Description

Factory class for making Cluster instances.


Constructor & Destructor Documentation

lemur::cluster::ClusterFactory::ClusterFactory const lemur::api::Index ind,
const SimilarityMethod simMethod,
enum ClusterParam::clusterTypes  clusterType = ClusterParam::CENTROID,
enum ClusterParam::docModes  docMode = ClusterParam::DMAX
 

initialize the factory for the specific cluster type.


Member Function Documentation

lemur::cluster::Cluster * lemur::cluster::ClusterFactory::allocateCluster int  clusterID = 1  ) 
 

Make an instance of the appropriate cluster type.


Member Data Documentation

enum ClusterParam::clusterTypes lemur::cluster::ClusterFactory::cType [private]
 

enum ClusterParam::docModes lemur::cluster::ClusterFactory::dMode [private]
 

const lemur::api::Index& lemur::cluster::ClusterFactory::index [private]
 

const SimilarityMethod& lemur::cluster::ClusterFactory::sim [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:05 2010 for Lemur by doxygen 1.3.4