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

indri::infnet::OrNode Class Reference

#include <OrNode.hpp>

Inheritance diagram for indri::infnet::OrNode:

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

Public Member Functions

 OrNode (const std::string &name)
 OrNode (const std::string &name, const std::vector< BeliefNode * > &children)
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)
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)
lemur::api::DOCID_T nextCandidateDocument ()
void indexChanged (indri::index::Index &index)
virtual void setSiblingsFlag (int f)
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::OrNode::OrNode const std::string &  name  ) 
 

indri::infnet::OrNode::OrNode const std::string &  name,
const std::vector< BeliefNode * > &  children
 


Member Function Documentation

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

void indri::infnet::OrNode::setSiblingsFlag int  f  )  [virtual]
 

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

Reimplemented from indri::infnet::BeliefNode.


Member Data Documentation

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

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

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

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