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

indri::infnet::UnorderedWindowNode Class Reference

#include <UnorderedWindowNode.hpp>

Inheritance diagram for indri::infnet::UnorderedWindowNode:

indri::infnet::ListIteratorNode indri::infnet::InferenceNetworkNode List of all members.

Public Member Functions

 UnorderedWindowNode (const std::string &name, std::vector< ListIteratorNode * > &children)
 UnorderedWindowNode (const std::string &name, std::vector< ListIteratorNode * > &children, int windowSize)
lemur::api::DOCID_T nextCandidateDocument ()
void indexChanged (indri::index::Index &index)
void prepare (lemur::api::DOCID_T documentID)
 sets up as much as we can with just the document ID

const indri::utility::greedy_vector<
indri::index::Extent > & 
extents ()
 returns a list of intervals describing positions of children

const std::string & getName () const
void annotate (Annotator &annotator, lemur::api::DOCID_T documentID, indri::index::Extent &extent)
 annotate any results from this node from position begin to position end


Private Attributes

int _windowSize
std::vector< ListIteratorNode * > _children
indri::utility::greedy_vector<
indri::index::Extent
_extents
std::string _name
bool _childrenAlreadySorted

Constructor & Destructor Documentation

indri::infnet::UnorderedWindowNode::UnorderedWindowNode const std::string &  name,
std::vector< ListIteratorNode * > &  children
 

indri::infnet::UnorderedWindowNode::UnorderedWindowNode const std::string &  name,
std::vector< ListIteratorNode * > &  children,
int  windowSize
 


Member Function Documentation

void indri::infnet::UnorderedWindowNode::annotate Annotator annotator,
lemur::api::DOCID_T  documentID,
indri::index::Extent extent
[virtual]
 

annotate any results from this node from position begin to position end

Implements indri::infnet::ListIteratorNode.

const indri::utility::greedy_vector< indri::index::Extent > & indri::infnet::UnorderedWindowNode::extents  )  [virtual]
 

returns a list of intervals describing positions of children

Implements indri::infnet::ListIteratorNode.

const std::string & indri::infnet::UnorderedWindowNode::getName  )  const [virtual]
 

Implements indri::infnet::InferenceNetworkNode.

void indri::infnet::UnorderedWindowNode::indexChanged indri::index::Index index  )  [virtual]
 

Implements indri::infnet::InferenceNetworkNode.

lemur::api::DOCID_T indri::infnet::UnorderedWindowNode::nextCandidateDocument  )  [virtual]
 

Implements indri::infnet::InferenceNetworkNode.

void indri::infnet::UnorderedWindowNode::prepare lemur::api::DOCID_T  documentID  )  [virtual]
 

sets up as much as we can with just the document ID

Implements indri::infnet::ListIteratorNode.


Member Data Documentation

std::vector<ListIteratorNode*> indri::infnet::UnorderedWindowNode::_children [private]
 

bool indri::infnet::UnorderedWindowNode::_childrenAlreadySorted [private]
 

indri::utility::greedy_vector<indri::index::Extent> indri::infnet::UnorderedWindowNode::_extents [private]
 

std::string indri::infnet::UnorderedWindowNode::_name [private]
 

int indri::infnet::UnorderedWindowNode::_windowSize [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:01 2010 for Lemur by doxygen 1.3.4