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

indri::lang::ShrinkageScorerNode Class Reference

#include <QuerySpec.hpp>

Inheritance diagram for indri::lang::ShrinkageScorerNode:

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

Public Member Functions

 ShrinkageScorerNode (RawExtentNode *raw, DocumentStructureNode *documentStructure, std::string smoothing="method:dirichlet, mu:2500")
 ShrinkageScorerNode (Unpacker &unpacker)
std::string typeName () const
std::string queryText () const
void addShrinkageRule (std::string rule)
std::vector< std::string > getShrinkageRules ()
void setDocumentStructure (DocumentStructureNode *docStruct)
DocumentStructureNode * getDocumentStructure ()
UINT64 hashCode () const
void pack (Packer &packer)
void walk (Walker &walker)
Node * copy (Copier &copier)

Private Attributes

DocumentStructureNode * _documentStructure
std::vector< std::string > _shrinkageRules

Constructor & Destructor Documentation

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

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


Member Function Documentation

void indri::lang::ShrinkageScorerNode::addShrinkageRule (  std::string  rule  )  [inline]
 

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

Reimplemented from indri::lang::RawScorerNode.

DocumentStructureNode* indri::lang::ShrinkageScorerNode::getDocumentStructure (   )  [inline]
 

std::vector<std::string> indri::lang::ShrinkageScorerNode::getShrinkageRules (   )  [inline]
 

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

Reimplemented from indri::lang::RawScorerNode.

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

Reimplemented from indri::lang::RawScorerNode.

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

Reimplemented from indri::lang::RawScorerNode.

void indri::lang::ShrinkageScorerNode::setDocumentStructure (  DocumentStructureNode *  docStruct  )  [inline]
 

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

Reimplemented from indri::lang::RawScorerNode.

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

Reimplemented from indri::lang::RawScorerNode.


Member Data Documentation

DocumentStructureNode* indri::lang::ShrinkageScorerNode::_documentStructure [private]
 

std::vector<std::string> indri::lang::ShrinkageScorerNode::_shrinkageRules [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