Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound 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::WSumNode List of all members.

Public Methods

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 Methods

void _unpack (Unpacker &unpacker)
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]
 

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 Wed Nov 3 13:00:07 2004 for Lemur Toolkit by doxygen1.2.18