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

indri::infnet::ContextInclusionAndNode Class Reference

#include <ContextInclusionAndNode.hpp>

Inheritance diagram for indri::infnet::ContextInclusionAndNode:

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

Public Member Functions

 ContextInclusionAndNode (const std::string &name)
void addChild (double weight, BeliefNode *node, bool preserveExtents=false)
void doneAddingChildren ()
void setThreshold (double threshold)
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 Member Functions

void _computeQuorum ()
double _computeMaxScore (unsigned int start)

Private Attributes

std::vector< child_type_children
indri::utility::greedy_vector<
indri::api::ScoredExtentResult
_scores
indri::utility::greedy_vector<
bool > 
_matches
std::string _name
indri::utility::greedy_vector<
lemur::api::DOCID_T
_candidates
size_t _candidatesIndex
double _threshold
double _recomputeThreshold
int _quorumIndex
BeliefNode_preserveExtentsChild

Constructor & Destructor Documentation

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


Member Function Documentation

double indri::infnet::ContextInclusionAndNode::_computeMaxScore unsigned int  start  )  [private]
 

void indri::infnet::ContextInclusionAndNode::_computeQuorum  )  [private]
 

void indri::infnet::ContextInclusionAndNode::addChild double  weight,
BeliefNode node,
bool  preserveExtents = false
 

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

Implements indri::infnet::BeliefNode.

void indri::infnet::ContextInclusionAndNode::doneAddingChildren  ) 
 

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

void indri::infnet::ContextInclusionAndNode::setThreshold double  threshold  )  [virtual]
 

Implements indri::infnet::SkippingCapableNode.


Member Data Documentation

indri::utility::greedy_vector<lemur::api::DOCID_T> indri::infnet::ContextInclusionAndNode::_candidates [private]
 

size_t indri::infnet::ContextInclusionAndNode::_candidatesIndex [private]
 

std::vector<child_type> indri::infnet::ContextInclusionAndNode::_children [private]
 

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

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

BeliefNode* indri::infnet::ContextInclusionAndNode::_preserveExtentsChild [private]
 

int indri::infnet::ContextInclusionAndNode::_quorumIndex [private]
 

double indri::infnet::ContextInclusionAndNode::_recomputeThreshold [private]
 

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

double indri::infnet::ContextInclusionAndNode::_threshold [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:00 2010 for Lemur by doxygen 1.3.4