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

indri::lang::RawScorerNode Class Reference

#include <QuerySpec.hpp>

Inheritance diagram for indri::lang::RawScorerNode:

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

Public Member Functions

 RawScorerNode (RawExtentNode *raw, RawExtentNode *context, std::string smoothing="method:dirichlet, mu:2500")
 RawScorerNode (Unpacker &unpacker)
virtual std::string typeName () const
std::string queryText () const
virtual 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 setContext (RawExtentNode *context)
void setRawExtent (RawExtentNode *rawExtent)
void setSmoothing (const std::string &smoothing)
RawExtentNode * getContext ()
RawExtentNode * getRawExtent ()
void pack (Packer &packer)
void walk (Walker &walker)
virtual Node * copy (Copier &copier)

Protected Attributes

double _occurrences
double _contextSize
double _maximumContextFraction
int _documentOccurrences
int _documentCount
RawExtentNode * _raw
RawExtentNode * _context
std::string _smoothing

Constructor & Destructor Documentation

indri::lang::RawScorerNode::RawScorerNode (  RawExtentNode *  raw,
RawExtentNode *  context,
std::string  smoothing = "method:dirichlet,mu:2500"
)  [inline]
 

indri::lang::RawScorerNode::RawScorerNode (  Unpacker &  unpacker  )  [inline]
 


Member Function Documentation

virtual Node* indri::lang::RawScorerNode::copy (  Copier &  copier  )  [inline, virtual]
 

Implements indri::lang::Node.

Reimplemented in indri::lang::NestedRawScorerNode, and indri::lang::ShrinkageScorerNode.

RawExtentNode* indri::lang::RawScorerNode::getContext (   )  [inline]
 

double indri::lang::RawScorerNode::getContextSize (   )  const [inline]
 

int indri::lang::RawScorerNode::getDocumentCount (   )  const [inline]
 

int indri::lang::RawScorerNode::getDocumentOccurrences (   )  const [inline]
 

double indri::lang::RawScorerNode::getOccurrences (   )  const [inline]
 

RawExtentNode* indri::lang::RawScorerNode::getRawExtent (   )  [inline]
 

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

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

Implements indri::lang::Node.

Reimplemented in indri::lang::NestedRawScorerNode, and indri::lang::ShrinkageScorerNode.

void indri::lang::RawScorerNode::pack (  Packer &  packer  )  [inline, virtual]
 

Implements indri::lang::Node.

Reimplemented in indri::lang::ShrinkageScorerNode.

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

Implements indri::lang::Node.

Reimplemented in indri::lang::ShrinkageScorerNode.

void indri::lang::RawScorerNode::setContext (  RawExtentNode *  context  )  [inline]
 

void indri::lang::RawScorerNode::setRawExtent (  RawExtentNode *  rawExtent  )  [inline]
 

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

void indri::lang::RawScorerNode::setStatistics (  double  occurrences,
double  contextSize,
int  documentOccurrences,
int  documentCount
)  [inline]
 

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

Reimplemented from indri::lang::Node.

Reimplemented in indri::lang::NestedRawScorerNode, and indri::lang::ShrinkageScorerNode.

void indri::lang::RawScorerNode::walk (  Walker &  walker  )  [inline, virtual]
 

Implements indri::lang::Node.

Reimplemented in indri::lang::ShrinkageScorerNode.


Member Data Documentation

RawExtentNode* indri::lang::RawScorerNode::_context [protected]
 

double indri::lang::RawScorerNode::_contextSize [protected]
 

int indri::lang::RawScorerNode::_documentCount [protected]
 

int indri::lang::RawScorerNode::_documentOccurrences [protected]
 

double indri::lang::RawScorerNode::_maximumContextFraction [protected]
 

double indri::lang::RawScorerNode::_occurrences [protected]
 

RawExtentNode* indri::lang::RawScorerNode::_raw [protected]
 

std::string indri::lang::RawScorerNode::_smoothing [protected]
 


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