#include <InternalTree.h>
Public Member Functions | |
| InternalTree (const std::string &line, const bool terminal=false) | |
| InternalTree (const InternalTree &tree) | |
| size_t | AddSubTree (const std::string &line, size_t start) |
| std::string | GetString (bool start=true) const |
| void | Combine (const std::vector< TreePointer > &previous) |
| const std::string & | GetLabel () const |
| size_t | GetLength () const |
| std::vector< TreePointer > & | GetChildren () |
| bool | IsTerminal () const |
| bool | IsLeafNT () const |
Definition at line 19 of file InternalTree.h.
| MosesTuning::InternalTree::InternalTree | ( | const std::string & | line, | |
| const bool | terminal = false | |||
| ) |
Definition at line 6 of file InternalTree.cpp.
References AddSubTree().

| MosesTuning::InternalTree::InternalTree | ( | const InternalTree & | tree | ) | [inline] |
Definition at line 26 of file InternalTree.h.
| size_t MosesTuning::InternalTree::AddSubTree | ( | const std::string & | line, | |
| size_t | start | |||
| ) |
Definition at line 21 of file InternalTree.cpp.
Referenced by InternalTree().

| void MosesTuning::InternalTree::Combine | ( | const std::vector< TreePointer > & | previous | ) |
Definition at line 93 of file InternalTree.cpp.
| std::vector<TreePointer>& MosesTuning::InternalTree::GetChildren | ( | ) | [inline] |
Definition at line 45 of file InternalTree.h.
Referenced by MosesTuning::$generator().

| const std::string& MosesTuning::InternalTree::GetLabel | ( | ) | const [inline] |
Definition at line 38 of file InternalTree.h.
| size_t MosesTuning::InternalTree::GetLength | ( | ) | const [inline] |
Definition at line 42 of file InternalTree.h.
| std::string MosesTuning::InternalTree::GetString | ( | bool | start = true |
) | const |
Definition at line 68 of file InternalTree.cpp.
| bool MosesTuning::InternalTree::IsLeafNT | ( | ) | const [inline] |
Definition at line 53 of file InternalTree.h.
| bool MosesTuning::InternalTree::IsTerminal | ( | ) | const [inline] |
Definition at line 49 of file InternalTree.h.
1.5.9