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

indri::lang::WeightedCombinationNode Class Reference

#include <QuerySpec.hpp>

Inheritance diagram for indri::lang::WeightedCombinationNode:

indri::lang::ScoredExtentNode indri::lang::Node indri::lang::WAndNode indri::lang::WeightNode indri::lang::WPlusNode indri::lang::WSumNode List of all members.

Public Member Functions

const std::vector< std::pair<
double, ScoredExtentNode * > > & 
getChildren ()
void addChild (double weight, ScoredExtentNode *scoredNode)
void addChild (const std::string &weight, ScoredExtentNode *scoredNode)
void pack (Packer &packer)

Protected Member Functions

void _unpack (Unpacker &unpacker)
UINT64 _hashCode () const
template<class _ThisType> void _walk (_ThisType *ptr, Walker &walker)
template<class _ThisType> Node_copy (_ThisType *ptr, Copier &copier)
void _childText (std::stringstream &qtext) const

Protected Attributes

std::vector< std::pair< double,
ScoredExtentNode * > > 
_children

Member Function Documentation

void indri::lang::WeightedCombinationNode::_childText std::stringstream &  qtext  )  const [inline, protected]
 

template<class _ThisType>
Node* indri::lang::WeightedCombinationNode::_copy _ThisType *  ptr,
Copier copier
[inline, protected]
 

UINT64 indri::lang::WeightedCombinationNode::_hashCode  )  const [inline, protected]
 

void indri::lang::WeightedCombinationNode::_unpack Unpacker unpacker  )  [inline, protected]
 

template<class _ThisType>
void indri::lang::WeightedCombinationNode::_walk _ThisType *  ptr,
Walker walker
[inline, protected]
 

void indri::lang::WeightedCombinationNode::addChild const std::string &  weight,
ScoredExtentNode scoredNode
[inline]
 

void indri::lang::WeightedCombinationNode::addChild double  weight,
ScoredExtentNode scoredNode
[inline]
 

const std::vector< std::pair<double, ScoredExtentNode*> >& indri::lang::WeightedCombinationNode::getChildren  )  [inline]
 

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

Implements indri::lang::Node.


Member Data Documentation

std::vector< std::pair<double, ScoredExtentNode*> > indri::lang::WeightedCombinationNode::_children [protected]
 


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