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

indri::lang::TermFrequencyScorerNode Class Reference

#include <QuerySpec.hpp>

Inheritance diagram for indri::lang::TermFrequencyScorerNode:

indri::lang::ScoredExtentNode indri::lang::Node List of all members.

Public Member Functions

 TermFrequencyScorerNode (const std::string &text, bool stemmed)
 TermFrequencyScorerNode (Unpacker &unpacker)
const std::string & getText () const
bool getStemmed () const
std::string typeName () const
std::string queryText () const
UINT64 hashCode () const
double getOccurrences () const
double getContextSize () const
int getDocumentOccurrences () const
int getDocumentCount () const
const std::string & getSmoothing () const
void setStatistics (double occurrences, double contextSize, int documentOccurrences, int documentCount)
void setSmoothing (const std::string &smoothing)
void pack (Packer &packer)
void walk (Walker &walker)
Nodecopy (Copier &copier)

Private Attributes

double _occurrences
double _contextSize
int _documentOccurrences
int _documentCount
std::string _text
std::string _smoothing
bool _stemmed

Constructor & Destructor Documentation

indri::lang::TermFrequencyScorerNode::TermFrequencyScorerNode const std::string &  text,
bool  stemmed
[inline]
 

indri::lang::TermFrequencyScorerNode::TermFrequencyScorerNode Unpacker unpacker  )  [inline]
 


Member Function Documentation

Node* indri::lang::TermFrequencyScorerNode::copy Copier copier  )  [inline, virtual]
 

Implements indri::lang::Node.

double indri::lang::TermFrequencyScorerNode::getContextSize  )  const [inline]
 

int indri::lang::TermFrequencyScorerNode::getDocumentCount  )  const [inline]
 

int indri::lang::TermFrequencyScorerNode::getDocumentOccurrences  )  const [inline]
 

double indri::lang::TermFrequencyScorerNode::getOccurrences  )  const [inline]
 

const std::string& indri::lang::TermFrequencyScorerNode::getSmoothing  )  const [inline]
 

bool indri::lang::TermFrequencyScorerNode::getStemmed  )  const [inline]
 

const std::string& indri::lang::TermFrequencyScorerNode::getText  )  const [inline]
 

UINT64 indri::lang::TermFrequencyScorerNode::hashCode  )  const [inline, virtual]
 

Implements indri::lang::Node.

void indri::lang::TermFrequencyScorerNode::pack Packer packer  )  [inline, virtual]
 

Implements indri::lang::Node.

std::string indri::lang::TermFrequencyScorerNode::queryText  )  const [inline, virtual]
 

Implements indri::lang::Node.

void indri::lang::TermFrequencyScorerNode::setSmoothing const std::string &  smoothing  )  [inline]
 

void indri::lang::TermFrequencyScorerNode::setStatistics double  occurrences,
double  contextSize,
int  documentOccurrences,
int  documentCount
[inline]
 

std::string indri::lang::TermFrequencyScorerNode::typeName  )  const [inline, virtual]
 

Reimplemented from indri::lang::Node.

void indri::lang::TermFrequencyScorerNode::walk Walker walker  )  [inline, virtual]
 

Implements indri::lang::Node.


Member Data Documentation

double indri::lang::TermFrequencyScorerNode::_contextSize [private]
 

int indri::lang::TermFrequencyScorerNode::_documentCount [private]
 

int indri::lang::TermFrequencyScorerNode::_documentOccurrences [private]
 

double indri::lang::TermFrequencyScorerNode::_occurrences [private]
 

std::string indri::lang::TermFrequencyScorerNode::_smoothing [private]
 

bool indri::lang::TermFrequencyScorerNode::_stemmed [private]
 

std::string indri::lang::TermFrequencyScorerNode::_text [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:02 2010 for Lemur by doxygen 1.3.4