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

indri::infnet::LengthPriorNode Class Reference

#include <LengthPriorNode.hpp>

Inheritance diagram for indri::infnet::LengthPriorNode:

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

Public Member Functions

 LengthPriorNode (const std::string &name, BeliefNode *child, double exponent)
 ~LengthPriorNode ()
lemur::api::DOCID_T nextCandidateDocument ()
void indexChanged (indri::index::Index &index)
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 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 ()
const std::string & getName () const
virtual void setSiblingsFlag (int f)

Private Attributes

indri::utility::greedy_vector<
indri::api::ScoredExtentResult
_scores
BeliefNode_child
std::string _name
double _exponent

Constructor & Destructor Documentation

indri::infnet::LengthPriorNode::LengthPriorNode const std::string &  name,
BeliefNode child,
double  exponent
 

indri::infnet::LengthPriorNode::~LengthPriorNode  ) 
 


Member Function Documentation

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

double indri::infnet::LengthPriorNode::_exponent [private]
 

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

indri::utility::greedy_vector<indri::api::ScoredExtentResult> indri::infnet::LengthPriorNode::_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