#include <UTrieNode.h>

Public Types | |
| typedef std::vector < std::vector< Word > > | LabelTable |
| typedef std::map< Word, UTrieNode > | TerminalMap |
| typedef std::map< std::vector < int > , TargetPhraseCollection::shared_ptr > | LabelMap |
Public Member Functions | |
| ~UTrieNode () | |
| const LabelTable & | GetLabelTable () const |
| const LabelMap & | GetLabelMap () const |
| const TerminalMap & | GetTerminalMap () const |
| const UTrieNode * | GetNonTerminalChild () const |
| UTrieNode * | GetOrCreateTerminalChild (const Word &sourceTerm) |
| UTrieNode * | GetOrCreateNonTerminalChild (const Word &targetNonTerm) |
| TargetPhraseCollection::shared_ptr | GetOrCreateTargetPhraseCollection (const TargetPhrase &) |
| bool | IsLeaf () const |
| bool | HasRules () const |
| void | Prune (size_t tableLimit) |
| void | Sort (size_t tableLimit) |
Friends | |
| class | RuleTableUTrie |
Definition at line 43 of file UTrieNode.h.
| typedef std::map<std::vector<int>, TargetPhraseCollection::shared_ptr> Moses::UTrieNode::LabelMap |
Definition at line 57 of file UTrieNode.h.
| typedef std::vector<std::vector<Word> > Moses::UTrieNode::LabelTable |
Definition at line 46 of file UTrieNode.h.
| typedef std::map<Word, UTrieNode> Moses::UTrieNode::TerminalMap |
Definition at line 56 of file UTrieNode.h.
| Moses::UTrieNode::~UTrieNode | ( | ) | [inline] |
Definition at line 60 of file UTrieNode.h.
| const LabelMap& Moses::UTrieNode::GetLabelMap | ( | ) | const [inline] |
Definition at line 67 of file UTrieNode.h.
Referenced by Moses::Scope3Parser::GetChartRuleCollection().

| const LabelTable& Moses::UTrieNode::GetLabelTable | ( | ) | const [inline] |
Definition at line 64 of file UTrieNode.h.
Referenced by Moses::StackLatticeBuilder::Build().

| const UTrieNode* Moses::UTrieNode::GetNonTerminalChild | ( | ) | const [inline] |
Definition at line 74 of file UTrieNode.h.
Referenced by Moses::ApplicableRuleTrie::Extend().

Definition at line 83 of file UTrieNode.cpp.
References Moses::Word::IsNonTerminal(), and NULL.

| TargetPhraseCollection::shared_ptr Moses::UTrieNode::GetOrCreateTargetPhraseCollection | ( | const TargetPhrase & | target | ) |
Definition at line 94 of file UTrieNode.cpp.
References Moses::AlignmentInfo::begin(), Moses::AlignmentInfo::end(), Moses::TargetPhrase::GetAlignNonTerm(), Moses::AlignmentInfo::GetSize(), Moses::Phrase::GetWord(), and NULL.

Definition at line 73 of file UTrieNode.cpp.
References Moses::Word::IsNonTerminal().

| const TerminalMap& Moses::UTrieNode::GetTerminalMap | ( | ) | const [inline] |
Definition at line 70 of file UTrieNode.h.
Referenced by Moses::ApplicableRuleTrie::Extend().

| bool Moses::UTrieNode::HasRules | ( | ) | const [inline] |
Definition at line 88 of file UTrieNode.h.
| bool Moses::UTrieNode::IsLeaf | ( | ) | const [inline] |
| void Moses::UTrieNode::Prune | ( | size_t | tableLimit | ) |
Definition at line 39 of file UTrieNode.cpp.
References Prune().
Referenced by Prune().


| void Moses::UTrieNode::Sort | ( | size_t | tableLimit | ) |
Definition at line 56 of file UTrieNode.cpp.
References Sort().
Referenced by Sort().


friend class RuleTableUTrie [friend] |
Definition at line 96 of file UTrieNode.h.
1.5.9