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

indri::infnet::FilterNode Class Reference

#include <FilterNode.hpp>

Inheritance diagram for indri::infnet::FilterNode:

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

Public Member Functions

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

Private Attributes

BeliefNode_belief
std::vector< lemur::api::DOCID_T_documents
std::string _name
int _index
indri::utility::greedy_vector<
bool > 
_matches

Constructor & Destructor Documentation

indri::infnet::FilterNode::FilterNode const std::string &  name,
BeliefNode child,
const std::vector< lemur::api::DOCID_T > &  documents
[inline]
 


Member Function Documentation

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

Implements indri::infnet::BeliefNode.

const std::string& indri::infnet::FilterNode::getName  )  const [inline, virtual]
 

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

bool indri::infnet::FilterNode::hasMatch lemur::api::DOCID_T  documentID  )  [inline, virtual]
 

Implements indri::infnet::BeliefNode.

void indri::infnet::FilterNode::indexChanged indri::index::Index index  )  [inline, virtual]
 

Implements indri::infnet::InferenceNetworkNode.

double indri::infnet::FilterNode::maximumBackgroundScore  )  [inline, virtual]
 

Implements indri::infnet::BeliefNode.

double indri::infnet::FilterNode::maximumScore  )  [inline, virtual]
 

Implements indri::infnet::BeliefNode.

lemur::api::DOCID_T indri::infnet::FilterNode::nextCandidateDocument  )  [inline, virtual]
 

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

virtual void indri::infnet::FilterNode::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

BeliefNode* indri::infnet::FilterNode::_belief [private]
 

std::vector<lemur::api::DOCID_T> indri::infnet::FilterNode::_documents [private]
 

int indri::infnet::FilterNode::_index [private]
 

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

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


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