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

indri::infnet::ShrinkageBeliefNode Class Reference

#include <ShrinkageBeliefNode.hpp>

Inheritance diagram for indri::infnet::ShrinkageBeliefNode:

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

Public Member Functions

 ShrinkageBeliefNode (const std::string &name, ListIteratorNode &child, DocumentStructureHolderNode &documentStructureHolderNode, indri::query::TermScoreFunction &scoreFunction, double maximumBackgroundScore, double maximumScore)
lemur::api::DOCID_T nextCandidateDocument ()
void indexChanged (indri::index::Index &index)
double maximumBackgroundScore ()
double maximumScore ()
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)
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
void addShrinkageRule (std::string rule)
void setSmoothing (const std::string &stringSpec)

Protected Types

typedef indri::infnet::ShrinkageBeliefNode::sr smoothing_rule

Protected Member Functions

void _buildScoreCache (lemur::api::DOCID_T documentID)

Protected Attributes

ListIteratorNode_list
DocumentStructureHolderNode_docStructHolder
double _maximumScore
double _maximumBackgroundScore
indri::query::TermScoreFunction_scoreFunction
indri::utility::greedy_vector<
indri::api::ScoredExtentResult
_results
indri::utility::greedy_vector<
bool > 
_matches
std::string _name
indri::utility::greedy_vector<
double > 
_down
indri::utility::greedy_vector<
double > 
_up
indri::utility::greedy_vector<
double > 
_base
indri::utility::greedy_vector<
double > 
_counts
lemur::api::DOCID_T _documentID
std::set< smoothing_rule,
lt_rule
_ruleSet
std::map< int, smoothing_rule_ruleMap
double _parentWeight
double _docWeight
double _otherWeight
bool _recursive
bool _queryLevelCombine
double _defaultScore
std::set< int > _roots
indri::utility::greedy_vector<
int > 
_topDownOrder

Member Typedef Documentation

typedef struct indri::infnet::ShrinkageBeliefNode::sr indri::infnet::ShrinkageBeliefNode::smoothing_rule [protected]
 


Constructor & Destructor Documentation

indri::infnet::ShrinkageBeliefNode::ShrinkageBeliefNode const std::string &  name,
ListIteratorNode child,
DocumentStructureHolderNode documentStructureHolderNode,
indri::query::TermScoreFunction scoreFunction,
double  maximumBackgroundScore,
double  maximumScore
 


Member Function Documentation

void indri::infnet::ShrinkageBeliefNode::_buildScoreCache lemur::api::DOCID_T  documentID  )  [protected]
 

void indri::infnet::ShrinkageBeliefNode::addShrinkageRule std::string  rule  ) 
 

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

void indri::infnet::ShrinkageBeliefNode::setSmoothing const std::string &  stringSpec  ) 
 


Member Data Documentation

indri::utility::greedy_vector<double> indri::infnet::ShrinkageBeliefNode::_base [protected]
 

indri::utility::greedy_vector<double> indri::infnet::ShrinkageBeliefNode::_counts [protected]
 

double indri::infnet::ShrinkageBeliefNode::_defaultScore [protected]
 

DocumentStructureHolderNode& indri::infnet::ShrinkageBeliefNode::_docStructHolder [protected]
 

lemur::api::DOCID_T indri::infnet::ShrinkageBeliefNode::_documentID [protected]
 

double indri::infnet::ShrinkageBeliefNode::_docWeight [protected]
 

indri::utility::greedy_vector<double> indri::infnet::ShrinkageBeliefNode::_down [protected]
 

ListIteratorNode& indri::infnet::ShrinkageBeliefNode::_list [protected]
 

indri::utility::greedy_vector<bool> indri::infnet::ShrinkageBeliefNode::_matches [protected]
 

double indri::infnet::ShrinkageBeliefNode::_maximumBackgroundScore [protected]
 

double indri::infnet::ShrinkageBeliefNode::_maximumScore [protected]
 

std::string indri::infnet::ShrinkageBeliefNode::_name [protected]
 

double indri::infnet::ShrinkageBeliefNode::_otherWeight [protected]
 

double indri::infnet::ShrinkageBeliefNode::_parentWeight [protected]
 

bool indri::infnet::ShrinkageBeliefNode::_queryLevelCombine [protected]
 

bool indri::infnet::ShrinkageBeliefNode::_recursive [protected]
 

indri::utility::greedy_vector<indri::api::ScoredExtentResult> indri::infnet::ShrinkageBeliefNode::_results [protected]
 

std::set<int> indri::infnet::ShrinkageBeliefNode::_roots [protected]
 

std::map<int, smoothing_rule> indri::infnet::ShrinkageBeliefNode::_ruleMap [protected]
 

std::set<smoothing_rule, lt_rule> indri::infnet::ShrinkageBeliefNode::_ruleSet [protected]
 

indri::query::TermScoreFunction& indri::infnet::ShrinkageBeliefNode::_scoreFunction [protected]
 

indri::utility::greedy_vector<int> indri::infnet::ShrinkageBeliefNode::_topDownOrder [protected]
 

indri::utility::greedy_vector<double> indri::infnet::ShrinkageBeliefNode::_up [protected]
 


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