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.cs.cmu.edu/~lemur/license.html 00008 * 00009 *========================================================================== 00010 */ 00011 00012 #ifndef _DISTMERGEMETHOD_HPP 00013 #define _DISTMERGEMETHOD_HPP 00014 00023 #include "common_headers.hpp" 00024 #include "IndexedReal.hpp" 00025 #include "DocScore.hpp" 00026 00027 class DistMergeMethod { 00028 public: 00029 virtual ~DistMergeMethod() {}; 00030 00032 virtual void mergeScoreSet(IndexedRealVector &indexset, DocScoreVector** scoreset, DocScoreVector &results); 00033 00034 protected: 00036 virtual double score(double dbscore, double docscore)=0; 00037 }; 00038 00039 #endif
1.2.4 written by Dimitri van Heesch,
© 1997-2000