Moses::Syntax::F2S::HyperTree::Node Class Reference

#include <HyperTree.h>

List of all members.

Public Types

typedef boost::unordered_map
< HyperPath::NodeSeq, Node
Map

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
TargetPhraseCollection::shared_ptr GetTargetPhraseCollection () const
TargetPhraseCollection::shared_ptr GetTargetPhraseCollection ()
const MapGetMap () const
 Node ()


Detailed Description

Definition at line 30 of file HyperTree.h.


Member Typedef Documentation

Definition at line 33 of file HyperTree.h.


Constructor & Destructor Documentation

Moses::Syntax::F2S::HyperTree::Node::Node (  )  [inline]

Definition at line 64 of file HyperTree.h.


Member Function Documentation

const HyperTree::Node * Moses::Syntax::F2S::HyperTree::Node::GetChild ( const HyperPath::NodeSeq nodeSeq  )  const

Definition at line 36 of file HyperTree.cpp.

References NULL.

Referenced by Moses::Syntax::F2S::RuleMatcherHyperTree< Callback >::EnumerateHyperedges().

Here is the caller graph for this function:

const Map& Moses::Syntax::F2S::HyperTree::Node::GetMap (  )  const [inline]

Definition at line 60 of file HyperTree.h.

HyperTree::Node * Moses::Syntax::F2S::HyperTree::Node::GetOrCreateChild ( const HyperPath::NodeSeq nodeSeq  ) 

Definition at line 30 of file HyperTree.cpp.

TargetPhraseCollection::shared_ptr Moses::Syntax::F2S::HyperTree::Node::GetTargetPhraseCollection (  )  [inline]

Definition at line 56 of file HyperTree.h.

TargetPhraseCollection::shared_ptr Moses::Syntax::F2S::HyperTree::Node::GetTargetPhraseCollection (  )  const [inline]

Definition at line 51 of file HyperTree.h.

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

Definition at line 39 of file HyperTree.h.

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

Definition at line 35 of file HyperTree.h.

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

Definition at line 10 of file HyperTree.cpp.

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

Definition at line 20 of file HyperTree.cpp.


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

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