Moses::Syntax::T2S::HyperTree::Node Class Reference

#include <HyperTree.h>

List of all members.

Public Types

typedef boost::unordered_map
< std::vector< Factor * >
, Node

Public Member Functions

bool IsLeaf () const
bool HasRules () const
void Prune (std::size_t tableLimit)
void Sort (std::size_t tableLimit)
NodeGetOrCreateChild (const HyperPath::NodeSeq &)
const NodeGetChild (const HyperPath::NodeSeq &) const
GetTargetPhraseCollection () const return m_targetPhraseCollection

Detailed Description

Definition at line 31 of file HyperTree.h.

Member Typedef Documentation

typedef boost::unordered_map<std::vector<Factor*>, Node> Moses::Syntax::T2S::HyperTree::Node::Map

Definition at line 34 of file HyperTree.h.

Member Function Documentation

const Node* Moses::Syntax::T2S::HyperTree::Node::GetChild ( const HyperPath::NodeSeq &   )  const

Node* Moses::Syntax::T2S::HyperTree::Node::GetOrCreateChild ( const HyperPath::NodeSeq &   ) 

const TargetPhraseCollection::shared_ptr Moses::Syntax::T2S::HyperTree::Node::GetTargetPhraseCollection (  )  const

bool Moses::Syntax::T2S::HyperTree::Node::HasRules (  )  const [inline]

bool Moses::Syntax::T2S::HyperTree::Node::IsLeaf (  )  const [inline]

Definition at line 36 of file HyperTree.h.

References Moses::Syntax::T2S::m_map.

void Moses::Syntax::T2S::HyperTree::Node::Prune ( std::size_t  tableLimit  ) 

void Moses::Syntax::T2S::HyperTree::Node::Sort ( std::size_t  tableLimit  ) 

The documentation for this class was generated from the following file:

Generated on Thu Jul 6 00:34:04 2017 for Moses by  doxygen 1.5.9