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

indri::infnet::MaxNode Class Reference

#include <MaxNode.hpp>

Inheritance diagram for indri::infnet::MaxNode:

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

Public Member Functions

 MaxNode (const std::string &name)
 MaxNode (const std::string &name, const std::vector< BeliefNode * > &children)
lemur::api::DOCID_T nextCandidateDocument ()
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)
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

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

Constructor & Destructor Documentation

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

indri::infnet::MaxNode::MaxNode const std::string &  name,
const std::vector< BeliefNode * > &  children
[inline]
 


Member Function Documentation

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.


Member Data Documentation

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

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

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

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