00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef INDRI_LISTITERATORNODE_HPP
00020 #define INDRI_LISTITERATORNODE_HPP
00021
00022 #include "indri/InferenceNetworkNode.hpp"
00023 #include "indri/Extent.hpp"
00024 #include <indri/greedy_vector>
00025
00026 class ListIteratorNode : public InferenceNetworkNode {
00027 public:
00029 virtual void prepare( int documentID ) = 0;
00030
00032 virtual const greedy_vector<Extent>& extents() = 0;
00033
00035 virtual void annotate( class Annotator& annotator, int documentID, int begin, int end ) = 0;
00036 };
00037
00038 #endif // INDRI_LISTNODE_HPP
00039