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

indri::infnet::WPlusNode Class Reference

#include <WPlusNode.hpp>

Inheritance diagram for indri::infnet::WPlusNode:

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

Public Member Functions

 WPlusNode (const std::string &name)
void addChild (double weight, BeliefNode *child)
lemur::api::DOCID_T nextCandidateDocument ()
void indexChanged (indri::index::Index &index)
double maximumScore ()
double maximumBackgroundScore ()
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

Private Attributes

std::vector< BeliefNode * > _children
std::vector< double > _weights
indri::utility::greedy_vector<
indri::api::ScoredExtentResult
_scores
indri::utility::greedy_vector<
bool > 
_matches
std::string _name

Constructor & Destructor Documentation

indri::infnet::WPlusNode::WPlusNode const std::string &  name  )  [inline]
 


Member Function Documentation

void indri::infnet::WPlusNode::addChild double  weight,
BeliefNode child
 

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.


Member Data Documentation

std::vector<BeliefNode*> indri::infnet::WPlusNode::_children [private]
 

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

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

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

std::vector<double> indri::infnet::WPlusNode::_weights [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