Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound 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 
00017 class WeightedIDSet {
00018 public:
00019   virtual ~WeightedIDSet() {}
00020   virtual void startIteration() const= 0;
00021   virtual bool hasMore() const= 0;
00023   virtual void nextIDInfo(int &id, double &weight) const= 0;
00024 };
00025 
00026 #endif /* _WEIGHTEDIDSET_HPP */
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042 
00043 
00044 
00045 

Generated on Wed Nov 3 12:59:07 2004 for Lemur Toolkit by doxygen1.2.18