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

ClusterFactory.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2002 University of Massachusetts.  All Rights Reserved.
00003  *
00004  * Use of the Lemur Toolkit for Language Modeling and Information Retrieval
00005  * is subject to the terms of the software license set forth in the LICENSE
00006  * file included with this software, and also available at
00007  * http://www.lemurproject.org/license.html
00008  *
00009  *==========================================================================
00010 */
00011 
00012 // David Fisher
00013 // init: 02/05/2003
00014 #ifndef _CLUSTERFACTORY_HPP
00015 #define _CLUSTERFACTORY_HPP
00016 // Add new Cluster subclasses here.
00017 #include "ClusterMethods.hpp"
00019 class ClusterFactory {
00020 public:
00022   ClusterFactory(const Index &ind, const SimilarityMethod &simMethod,
00023                  enum ClusterParam::clusterTypes clusterType = ClusterParam::CENTROID,
00024                  enum ClusterParam::docModes docMode = ClusterParam::DMAX);
00026   Cluster *ClusterFactory::allocateCluster(int clusterID = 1);
00027   
00028 private:
00029   const Index &index;
00030   const SimilarityMethod ∼
00031   enum ClusterParam::clusterTypes cType;
00032   enum ClusterParam::docModes dMode;
00033 };
00034 #endif

Generated on Wed Nov 3 12:58:52 2004 for Lemur Toolkit by doxygen1.2.18