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

WeightedIDSet.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2001 Carnegie Mellon University.  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 
00013 #ifndef _WEIGHTEDIDSET_HPP
00014 #define _WEIGHTEDIDSET_HPP
00015 namespace lemur 
00016 {
00017   namespace utility 
00018   {
00020     class WeightedIDSet {
00021     public:
00022       virtual ~WeightedIDSet() {}
00023       virtual void startIteration() const= 0;
00024       virtual bool hasMore() const= 0;
00026       virtual void nextIDInfo(int &id, double &weight) const= 0;
00027     };
00028   }
00029 }
00030 
00031 #endif /* _WEIGHTEDIDSET_HPP */

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