source: trunk/c++_tools/classifier/IRRetrieve.h @ 666

Last change on this file since 666 was 666, checked in by Peter, 16 years ago

refs #151, added IRRetreive functors and prepared ConsensusInputRanker? for usage.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 614 bytes
Line 
1// $Id: IRRetrieve.h 666 2006-10-06 04:07:54Z peter $
2
3#ifndef _theplu_classifier_ir_retrieve_
4#define _theplu_classifier_ir_retrieve_
5
6namespace theplu {
7namespace classifier { 
8
9  class InputRanker;
10
11  ///
12  /// Abstract class for retrieving information from a InputRanker to
13  /// build a ConsensusInputRanker.
14  ///   
15  class IRRetrieve
16  {
17
18  public:
19    ///
20    /// @brief destructor
21    ///
22    virtual ~IRRetrieve(void) {};
23
24    ///
25    /// @brief operator to retrieve information from @a ranker of
26    /// input @a i.
27    ///
28    virtual double operator()(const InputRanker& ranker, size_t i) const=0;
29  };
30
31
32}} // of namespace classifier and namespace theplu
33
34#endif
Note: See TracBrowser for help on using the repository browser.