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

indri::infnet::ContextCountAccumulator Class Reference

#include <ContextCountAccumulator.hpp>

Inheritance diagram for indri::infnet::ContextCountAccumulator:

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

Public Member Functions

 ContextCountAccumulator (const std::string &name, ListIteratorNode *matches, ListIteratorNode *context)
 ~ContextCountAccumulator ()
double getOccurrences () const
double getContextSize () const
int getDocumentOccurrences () const
int getDocumentCount () const
const ListIteratorNodegetContextNode () const
const ListIteratorNodegetMatchesNode () const
const std::string & getName () const
const EvaluatorNode::MResultsgetResults ()
void evaluate (lemur::api::DOCID_T documentID, int documentLength)
lemur::api::DOCID_T nextCandidateDocument ()
void indexChanged (indri::index::Index &index)

Private Attributes

ListIteratorNode_context
ListIteratorNode_matches
std::string _name
double _occurrences
double _contextSize
int _documentOccurrences
int _documentCount
EvaluatorNode::MResults _results

Constructor & Destructor Documentation

indri::infnet::ContextCountAccumulator::ContextCountAccumulator const std::string &  name,
ListIteratorNode matches,
ListIteratorNode context
 

indri::infnet::ContextCountAccumulator::~ContextCountAccumulator  ) 
 


Member Function Documentation

void indri::infnet::ContextCountAccumulator::evaluate lemur::api::DOCID_T  documentID,
int  documentLength
[virtual]
 

Implements indri::infnet::EvaluatorNode.

const indri::infnet::ListIteratorNode * indri::infnet::ContextCountAccumulator::getContextNode  )  const
 

double indri::infnet::ContextCountAccumulator::getContextSize  )  const
 

int indri::infnet::ContextCountAccumulator::getDocumentCount  )  const
 

int indri::infnet::ContextCountAccumulator::getDocumentOccurrences  )  const
 

const indri::infnet::ListIteratorNode * indri::infnet::ContextCountAccumulator::getMatchesNode  )  const
 

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

Implements indri::infnet::InferenceNetworkNode.

double indri::infnet::ContextCountAccumulator::getOccurrences  )  const
 

const indri::infnet::EvaluatorNode::MResults & indri::infnet::ContextCountAccumulator::getResults  )  [virtual]
 

Implements indri::infnet::EvaluatorNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::InferenceNetworkNode.


Member Data Documentation

ListIteratorNode* indri::infnet::ContextCountAccumulator::_context [private]
 

double indri::infnet::ContextCountAccumulator::_contextSize [private]
 

int indri::infnet::ContextCountAccumulator::_documentCount [private]
 

int indri::infnet::ContextCountAccumulator::_documentOccurrences [private]
 

ListIteratorNode* indri::infnet::ContextCountAccumulator::_matches [private]
 

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

double indri::infnet::ContextCountAccumulator::_occurrences [private]
 

EvaluatorNode::MResults indri::infnet::ContextCountAccumulator::_results [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