Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

BeliefNode Class Reference

Parent class for all belief operators. More...

#include <BeliefNode.hpp>

Inheritance diagram for BeliefNode:

QueryNode InferenceNetworkNode AndQnode BandNotQnode BandQnode CachedFrequencyBeliefNode ExtentRestrictionNode FilterNode FiltRejQnode FiltReqQnode ListBeliefNode MaxNode MaxQnode NotNode NotQnode NullScorerNode OrNode OrQnode PriorNode SkippingCapableNode SumNode SumQnode TermFrequencyBeliefNode WeightedSumNode WsumQnode List of all members.

Public Methods

virtual double maximumBackgroundScore ()=0
virtual double maximumScore ()=0
virtual const greedy_vector<
ScoredExtentResult > & 
score (int documentID, int start, int end, int documentLength)=0
virtual bool hasMatch (int documentID)=0
virtual void annotate (class Annotator &annotator, int documentID, int begin, int end)=0
 BeliefNode (double wt)
 BeliefNode (int id, double weight)
 BeliefNode (double wt, double dbelief)
virtual ~BeliefNode ()
virtual void updateDocList (int numDocs)
 Union the doc lists of the children of this node.


Detailed Description

Parent class for all belief operators.


Constructor & Destructor Documentation

BeliefNode::BeliefNode double    wt [inline]
 

BeliefNode::BeliefNode int    id,
double    weight
[inline]
 

BeliefNode::BeliefNode double    wt,
double    dbelief
[inline]
 

virtual BeliefNode::~BeliefNode   [inline, virtual]
 


Member Function Documentation

virtual void BeliefNode::annotate class Annotator   annotator,
int    documentID,
int    begin,
int    end
[pure virtual]
 

Implemented in CachedFrequencyBeliefNode, ExtentRestrictionNode, FilterNode, ListBeliefNode, MaxNode, NotNode, NullScorerNode, OrNode, PriorNode, TermFrequencyBeliefNode, WeightedAndNode, and WeightedSumNode.

virtual bool BeliefNode::hasMatch int    documentID [pure virtual]
 

Implemented in CachedFrequencyBeliefNode, ExtentRestrictionNode, FilterNode, ListBeliefNode, MaxNode, NotNode, NullScorerNode, OrNode, PriorNode, TermFrequencyBeliefNode, WeightedAndNode, and WeightedSumNode.

virtual double BeliefNode::maximumBackgroundScore   [pure virtual]
 

Implemented in CachedFrequencyBeliefNode, ExtentRestrictionNode, FilterNode, ListBeliefNode, MaxNode, NotNode, NullScorerNode, OrNode, PriorNode, TermFrequencyBeliefNode, WeightedAndNode, and WeightedSumNode.

virtual double BeliefNode::maximumScore   [pure virtual]
 

Implemented in CachedFrequencyBeliefNode, ExtentRestrictionNode, FilterNode, ListBeliefNode, MaxNode, NotNode, NullScorerNode, OrNode, PriorNode, SumNode, TermFrequencyBeliefNode, WeightedAndNode, and WeightedSumNode.

virtual const greedy_vector<ScoredExtentResult>& BeliefNode::score int    documentID,
int    start,
int    end,
int    documentLength
[pure virtual]
 

Implemented in CachedFrequencyBeliefNode, ExtentRestrictionNode, FilterNode, ListBeliefNode, MaxNode, NotNode, NullScorerNode, OrNode, PriorNode, TermFrequencyBeliefNode, WeightedAndNode, and WeightedSumNode.

virtual void BeliefNode::updateDocList int    numDocs [inline, virtual]
 

Union the doc lists of the children of this node.

Implements QueryNode.

Reimplemented in BandQnode, and FiltReqQnode.


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:25 2004 for Lemur Toolkit by doxygen1.2.18