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

indri::infnet::FixedPassageNode Class Reference

#include <FixedPassageNode.hpp>

Inheritance diagram for indri::infnet::FixedPassageNode:

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

Public Member Functions

 FixedPassageNode (const std::string &name, BeliefNode *child, int windowSize, int increment)
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)
const indri::utility::greedy_vector<
bool > & 
hasMatch (lemur::api::DOCID_T documentID, const indri::utility::greedy_vector< indri::index::Extent > &extents)
bool hasMatch (lemur::api::DOCID_T documentID)
const std::string & getName () const
virtual void setSiblingsFlag (int f)

Private Member Functions

void _addSubextents (const indri::index::Extent &extent)
void _buildSubextents (const indri::index::Extent &extent)
void _buildSubextents (const indri::utility::greedy_vector< indri::index::Extent > &extents)

Private Attributes

BeliefNode_child
indri::utility::greedy_vector<
indri::api::ScoredExtentResult
_scores
indri::utility::greedy_vector<
bool > 
_matches
indri::utility::greedy_vector<
indri::index::Extent
_subextents
std::string _name
int _windowSize
int _increment

Constructor & Destructor Documentation

indri::infnet::FixedPassageNode::FixedPassageNode const std::string &  name,
BeliefNode child,
int  windowSize,
int  increment
 


Member Function Documentation

void indri::infnet::FixedPassageNode::_addSubextents const indri::index::Extent extent  )  [private]
 

void indri::infnet::FixedPassageNode::_buildSubextents const indri::utility::greedy_vector< indri::index::Extent > &  extents  )  [private]
 

void indri::infnet::FixedPassageNode::_buildSubextents const indri::index::Extent extent  )  [private]
 

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

virtual void indri::infnet::FixedPassageNode::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::FixedPassageNode::_child [private]
 

int indri::infnet::FixedPassageNode::_increment [private]
 

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

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

indri::utility::greedy_vector<indri::api::ScoredExtentResult> indri::infnet::FixedPassageNode::_scores [private]
 

indri::utility::greedy_vector<indri::index::Extent> indri::infnet::FixedPassageNode::_subextents [private]
 

int indri::infnet::FixedPassageNode::_windowSize [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