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

ThresholdFcn.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   Author: dmf 11/2002
00013 */
00014 
00015 #ifndef _THRESHOLDFCN_HPP
00016 #define _THRESHOLDFCN_HPP
00017 namespace lemur 
00018 {
00019   namespace cluster 
00020   {
00021     
00023     class ThresholdFcn{
00024     public:
00025       ThresholdFcn(double val) : thresh(val) {}
00026       virtual ~ThresholdFcn() {}
00027       virtual double threshold(int size = 0);
00028       virtual bool threshold(double score, int size = 0);
00029       double thresh;
00030     };
00031   }
00032 }
00033 
00034 #endif /* _THRESHOLDFCN_HPP */

Generated on Tue Jun 15 11:02:56 2010 for Lemur by doxygen 1.3.4