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

IndexTypes.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2004 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 /* type definitions for index objects */
00013 #ifndef _INDEXTYPES_H
00014 #define _INDEXTYPES_H
00015 
00016 #include <string>
00017 namespace lemur
00018 {
00019   namespace api
00020   {
00022     typedef int   FILEID_T;
00023     // All four of TERMID_T, DOCID_T, LOC_T, and COUNT_T need to be
00024     // the same size for the Inv(FP) and Keyfile indexes to work
00025     // without rewrite. 10/05/2004 -- dmf
00027     typedef int TERMID_T;
00029     typedef TERMID_T LOC_T;
00031     typedef TERMID_T DOCID_T;
00033     typedef TERMID_T COUNT_T;
00035     typedef float SCORE_T;
00037     typedef std::string TERM_T;
00039     typedef std::string EXDOCID_T;
00041     typedef int POS_T;  // Used by DocLists and TermLists
00042   }
00043 }
00044 
00045 #endif

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