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

indri::infnet::ListIteratorNode Class Reference

#include <ListIteratorNode.hpp>

Inheritance diagram for indri::infnet::ListIteratorNode:

indri::infnet::InferenceNetworkNode indri::infnet::BooleanAndNode indri::infnet::DocListIteratorNode indri::infnet::ExtentAndNode indri::infnet::ExtentChildNode indri::infnet::ExtentDescendantNode indri::infnet::ExtentInsideNode indri::infnet::ExtentOrNode indri::infnet::ExtentParentNode indri::infnet::FieldBetweenNode indri::infnet::FieldEqualsNode indri::infnet::FieldGreaterNode indri::infnet::FieldIteratorNode indri::infnet::FieldLessNode indri::infnet::FieldWildcardNode indri::infnet::NestedExtentInsideNode indri::infnet::NullListNode indri::infnet::OrderedWindowNode indri::infnet::UnorderedWindowNode indri::infnet::WeightedExtentOrNode List of all members.

Public Member Functions

void initpointer ()
 initializes the last position pointer for matching child siblings

void sortparent (indri::utility::greedy_vector< indri::index::Extent > &extents)
 sorts the extents by the parent IDs (if available)

void sortbegin (indri::utility::greedy_vector< indri::index::Extent > &extents)
 sorts the extents by the beginning extent position (if available)

virtual void prepare (lemur::api::DOCID_T documentID)=0
 sets up as much as we can with just the document ID

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

virtual void annotate (class Annotator &annotator, lemur::api::DOCID_T documentID, indri::index::Extent &extent)=0
 annotate any results from this node from position begin to position end

virtual const indri::utility::greedy_vector<
indri::index::Extent > & 
matches (indri::index::Extent &extent)

Protected Attributes

indri::utility::greedy_vector<
indri::index::Extent
_matches
int _lastpos
indri::index::Extent _lastExtent

Member Function Documentation

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

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

Implemented in indri::infnet::BooleanAndNode, indri::infnet::DocListIteratorNode, indri::infnet::ExtentAndNode, indri::infnet::ExtentChildNode, indri::infnet::ExtentDescendantNode, indri::infnet::ExtentInsideNode, indri::infnet::ExtentOrNode, indri::infnet::ExtentParentNode, indri::infnet::FieldBetweenNode, indri::infnet::FieldEqualsNode, indri::infnet::FieldGreaterNode, indri::infnet::FieldIteratorNode, indri::infnet::FieldLessNode, indri::infnet::FieldWildcardNode, indri::infnet::NestedExtentInsideNode, indri::infnet::NullListNode, indri::infnet::OrderedWindowNode, indri::infnet::UnorderedWindowNode, and indri::infnet::WeightedExtentOrNode.

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

returns a list of intervals describing positions of children

Implemented in indri::infnet::BooleanAndNode, indri::infnet::DocListIteratorNode, indri::infnet::ExtentAndNode, indri::infnet::ExtentChildNode, indri::infnet::ExtentDescendantNode, indri::infnet::ExtentInsideNode, indri::infnet::ExtentOrNode, indri::infnet::ExtentParentNode, indri::infnet::FieldBetweenNode, indri::infnet::FieldEqualsNode, indri::infnet::FieldGreaterNode, indri::infnet::FieldIteratorNode, indri::infnet::FieldLessNode, indri::infnet::FieldWildcardNode, indri::infnet::NestedExtentInsideNode, indri::infnet::NullListNode, indri::infnet::OrderedWindowNode, indri::infnet::UnorderedWindowNode, and indri::infnet::WeightedExtentOrNode.

void indri::infnet::ListIteratorNode::initpointer  )  [inline]
 

initializes the last position pointer for matching child siblings

virtual const indri::utility::greedy_vector<indri::index::Extent>& indri::infnet::ListIteratorNode::matches indri::index::Extent extent  )  [inline, virtual]
 

Reimplemented in indri::infnet::ExtentChildNode, indri::infnet::ExtentDescendantNode, and indri::infnet::ExtentParentNode.

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

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

Implemented in indri::infnet::BooleanAndNode, indri::infnet::DocListIteratorNode, indri::infnet::ExtentAndNode, indri::infnet::ExtentChildNode, indri::infnet::ExtentDescendantNode, indri::infnet::ExtentInsideNode, indri::infnet::ExtentOrNode, indri::infnet::ExtentParentNode, indri::infnet::FieldBetweenNode, indri::infnet::FieldEqualsNode, indri::infnet::FieldGreaterNode, indri::infnet::FieldIteratorNode, indri::infnet::FieldLessNode, indri::infnet::FieldWildcardNode, indri::infnet::NestedExtentInsideNode, indri::infnet::NullListNode, indri::infnet::OrderedWindowNode, indri::infnet::UnorderedWindowNode, and indri::infnet::WeightedExtentOrNode.

void indri::infnet::ListIteratorNode::sortbegin indri::utility::greedy_vector< indri::index::Extent > &  extents  )  [inline]
 

sorts the extents by the beginning extent position (if available)

void indri::infnet::ListIteratorNode::sortparent indri::utility::greedy_vector< indri::index::Extent > &  extents  )  [inline]
 

sorts the extents by the parent IDs (if available)


Member Data Documentation

indri::index::Extent indri::infnet::ListIteratorNode::_lastExtent [protected]
 

int indri::infnet::ListIteratorNode::_lastpos [protected]
 

indri::utility::greedy_vector<indri::index::Extent> indri::infnet::ListIteratorNode::_matches [protected]
 


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