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

indri::infnet::NotNode Class Reference

#include <NotNode.hpp>

Inheritance diagram for indri::infnet::NotNode:

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

Public Member Functions

 NotNode (const std::string &name, BeliefNode *child)
double maximumBackgroundScore ()
double maximumScore ()
const indri::utility::greedy_vector<
indri::api::ScoredExtentResult > & 
score (lemur::api::DOCID_T documentID, indri::index::Extent &extent, int documentLength)
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)
void annotate (class Annotator &annotator, lemur::api::DOCID_T documentID, indri::index::Extent &extent)
lemur::api::DOCID_T nextCandidateDocument ()
void indexChanged (indri::index::Index &index)
const std::string & getName () const
virtual void setSiblingsFlag (int f)

Private Attributes

BeliefNode * _child
indri::utility::greedy_vector<
indri::api::ScoredExtentResult > 
_extents
indri::utility::greedy_vector<
bool > 
_matches
std::string _name

Constructor & Destructor Documentation

indri::infnet::NotNode::NotNode (  const std::string &  name,
BeliefNode *  child
) 
 


Member Function Documentation

void indri::infnet::NotNode::annotate (  class Annotator &  annotator,
lemur::api::DOCID_T  documentID,
indri::index::Extent &  extent
)  [virtual]
 

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

Implements indri::infnet::BeliefNode.

void indri::infnet::NotNode::indexChanged (  indri::index::Index &  index  )  [virtual]
 

Implements indri::infnet::InferenceNetworkNode.

double indri::infnet::NotNode::maximumBackgroundScore (   )  [virtual]
 

Implements indri::infnet::BeliefNode.

double indri::infnet::NotNode::maximumScore (   )  [virtual]
 

Implements indri::infnet::BeliefNode.

lemur::api::DOCID_T indri::infnet::NotNode::nextCandidateDocument (   )  [virtual]
 

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::BeliefNode.

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

indri::utility::greedy_vector<indri::api::ScoredExtentResult> indri::infnet::NotNode::_extents [private]
 

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

std::string indri::infnet::NotNode::_name [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