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

indri::infnet::ContextSimpleCountAccumulator Class Reference

#include <ContextSimpleCountAccumulator.hpp>

Inheritance diagram for indri::infnet::ContextSimpleCountAccumulator:

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

Public Member Functions

 ContextSimpleCountAccumulator (const std::string &nodeName, const std::vector< std::string > &terms, const std::string &field, const std::string &context)
const std::string & getName () const
const EvaluatorNode::MResultsgetResults ()
int getDocumentOccurrences () const
int getDocumentCount () const
void indexChanged (indri::index::Index &index)
void evaluate (lemur::api::DOCID_T documentID, int documentLength)
lemur::api::DOCID_T nextCandidateDocument ()

Private Member Functions

void _computeCounts (indri::index::Index &index)

Private Attributes

std::string _name
std::vector< std::string > _terms
std::string _field
std::string _context
UINT64 _occurrences
UINT64 _size
lemur::api::DOCID_T _maximumDocument
int _documentOccurrences
int _documentCount
EvaluatorNode::MResults _results

Constructor & Destructor Documentation

indri::infnet::ContextSimpleCountAccumulator::ContextSimpleCountAccumulator const std::string &  nodeName,
const std::vector< std::string > &  terms,
const std::string &  field,
const std::string &  context
 


Member Function Documentation

void indri::infnet::ContextSimpleCountAccumulator::_computeCounts indri::index::Index index  )  [private]
 

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

Implements indri::infnet::EvaluatorNode.

int indri::infnet::ContextSimpleCountAccumulator::getDocumentCount  )  const
 

int indri::infnet::ContextSimpleCountAccumulator::getDocumentOccurrences  )  const
 

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::EvaluatorNode.

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

Implements indri::infnet::InferenceNetworkNode.

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

Implements indri::infnet::InferenceNetworkNode.


Member Data Documentation

std::string indri::infnet::ContextSimpleCountAccumulator::_context [private]
 

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

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

std::string indri::infnet::ContextSimpleCountAccumulator::_field [private]
 

lemur::api::DOCID_T indri::infnet::ContextSimpleCountAccumulator::_maximumDocument [private]
 

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

UINT64 indri::infnet::ContextSimpleCountAccumulator::_occurrences [private]
 

EvaluatorNode::MResults indri::infnet::ContextSimpleCountAccumulator::_results [private]
 

UINT64 indri::infnet::ContextSimpleCountAccumulator::_size [private]
 

std::vector<std::string> indri::infnet::ContextSimpleCountAccumulator::_terms [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