Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | 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

virtual Nodecopy (Copier &copier)
RawExtentNodegetContext ()
double getContextSize () const
double getOccurrences () const
RawExtentNodegetRawExtent ()
const std::string & getSmoothing () const
virtual UINT64 hashCode () const
void pack (Packer &packer)
std::string queryText () const
 RawScorerNode (Unpacker &unpacker)
 RawScorerNode (RawExtentNode *raw, RawExtentNode *context, std::string smoothing="method:dirichlet,mu:2500")
void setContext (RawExtentNode *context)
void setRawExtent (RawExtentNode *rawExtent)
void setSmoothing (const std::string &smoothing)
void setStatistics (double occurrences, double contextSize)
virtual std::string typeName () const
void walk (Walker &walker)

Protected Attributes

RawExtentNode_context
double _contextSize
double _maximumContextFraction
double _occurrences
RawExtentNode_raw
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]
 

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
[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]
 

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 Mon Dec 8 12:23:59 2008 for LEMUR by  doxygen 1.4.4