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

indri::infnet::ExtentRestrictionNode Class Reference

#include <ExtentRestrictionNode.hpp>

Inheritance diagram for indri::infnet::ExtentRestrictionNode:

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

Public Member Functions

 ExtentRestrictionNode (const std::string &name, BeliefNode *child, ListIteratorNode *field)
lemur::api::DOCID_T nextCandidateDocument ()
void indexChanged (indri::index::Index &index)
double maximumScore ()
double maximumBackgroundScore ()
const indri::utility::greedy_vector<
indri::api::ScoredExtentResult > & 
score (lemur::api::DOCID_T documentID, indri::index::Extent &extent, int documentLength)
void annotate (class Annotator &annotator, lemur::api::DOCID_T documentID, indri::index::Extent &extent)
bool hasMatch (lemur::api::DOCID_T documentID)
const indri::utility::greedy_vector<
bool > & 
hasMatch (lemur::api::DOCID_T documentID, const indri::utility::greedy_vector< indri::index::Extent > &extents)
const std::string & getName () const
void setSiblingsFlag (int f)
 over-ridden to set child nodes too


Private Attributes

BeliefNode_child
ListIteratorNode_field
indri::utility::greedy_vector<
indri::api::ScoredExtentResult
_scores
indri::utility::greedy_vector<
bool > 
_matches
std::string _name

Constructor & Destructor Documentation

indri::infnet::ExtentRestrictionNode::ExtentRestrictionNode const std::string &  name,
BeliefNode child,
ListIteratorNode field
 


Member Function Documentation

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

const indri::utility::greedy_vector< bool > & indri::infnet::ExtentRestrictionNode::hasMatch lemur::api::DOCID_T  documentID,
const indri::utility::greedy_vector< indri::index::Extent > &  extents
[virtual]
 

Implements indri::infnet::BeliefNode.

bool indri::infnet::ExtentRestrictionNode::hasMatch lemur::api::DOCID_T  documentID  )  [virtual]
 

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

double indri::infnet::ExtentRestrictionNode::maximumBackgroundScore  )  [virtual]
 

Implements indri::infnet::BeliefNode.

double indri::infnet::ExtentRestrictionNode::maximumScore  )  [virtual]
 

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

const indri::utility::greedy_vector< indri::api::ScoredExtentResult > & indri::infnet::ExtentRestrictionNode::score lemur::api::DOCID_T  documentID,
indri::index::Extent extent,
int  documentLength
[virtual]
 

score all, but also all siblings if no matches...

Implements indri::infnet::BeliefNode.

void indri::infnet::ExtentRestrictionNode::setSiblingsFlag int  f  )  [virtual]
 

over-ridden to set child nodes too

Reimplemented from indri::infnet::BeliefNode.


Member Data Documentation

BeliefNode* indri::infnet::ExtentRestrictionNode::_child [private]
 

ListIteratorNode* indri::infnet::ExtentRestrictionNode::_field [private]
 

indri::utility::greedy_vector<bool> indri::infnet::ExtentRestrictionNode::_matches [private]
 

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

indri::utility::greedy_vector<indri::api::ScoredExtentResult> indri::infnet::ExtentRestrictionNode::_scores [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