#include <ListIteratorNode.hpp>
Inheritance diagram for indri::infnet::ListIteratorNode:
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 |
|
|
|
initializes the last position pointer for matching child siblings
|
|
Reimplemented in indri::infnet::ExtentChildNode, indri::infnet::ExtentDescendantNode, and indri::infnet::ExtentParentNode. |
|
|
sorts the extents by the beginning extent position (if available)
|
|
sorts the extents by the parent IDs (if available)
|
|
|
|
|
|
|