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

indri::infnet::FilterRequireNode Class Reference

#include <FilterRequireNode.hpp>

Inheritance diagram for indri::infnet::FilterRequireNode:

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

Public Member Functions

 FilterRequireNode (const std::string &name, ListIteratorNode *filter, BeliefNode *required)
double maximumBackgroundScore ()
double maximumScore ()
const indri::utility::greedy_vector<
indri::api::ScoredExtentResult > & 
score (lemur::api::DOCID_T documentID, indri::index::Extent &extent, int documentLength)
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)
lemur::api::DOCID_T nextCandidateDocument ()
void indexChanged (indri::index::Index &index)
const std::string & getName () const
void annotate (class Annotator &annotator, lemur::api::DOCID_T documentID, indri::index::Extent &extent)
virtual void setSiblingsFlag (int f)

Private Attributes

ListIteratorNode_filter
BeliefNode_required
indri::utility::greedy_vector<
indri::api::ScoredExtentResult
_extents
indri::utility::greedy_vector<
bool > 
_matches
std::string _name

Constructor & Destructor Documentation

indri::infnet::FilterRequireNode::FilterRequireNode const std::string &  name,
ListIteratorNode filter,
BeliefNode required
 


Member Function Documentation

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

virtual void indri::infnet::FilterRequireNode::setSiblingsFlag int  f  )  [inline, virtual]
 

sets the siblings flag (and counter) if the belief node has siblings

Reimplemented from indri::infnet::BeliefNode.


Member Data Documentation

indri::utility::greedy_vector<indri::api::ScoredExtentResult> indri::infnet::FilterRequireNode::_extents [private]
 

ListIteratorNode* indri::infnet::FilterRequireNode::_filter [private]
 

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

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

BeliefNode* indri::infnet::FilterRequireNode::_required [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