#include <DotChartInMemory.h>
Public Types | |
typedef CollType::iterator | iterator |
typedef CollType::const_iterator | const_iterator |
Public Member Functions | |
const_iterator | begin () const |
const_iterator | end () const |
iterator | begin () |
iterator | end () |
DottedRuleColl (size_t size) | |
~DottedRuleColl () | |
const DottedRuleList & | Get (size_t pos) const |
DottedRuleList & | Get (size_t pos) |
void | Add (size_t pos, const DottedRuleInMemory *dottedRule) |
void | Clear (size_t pos) |
const DottedRuleList & | GetExpandableDottedRuleList () const |
DottedRuleMap & | GetExpandableDottedRuleListTerminalsOnly () |
Protected Types | |
typedef std::vector < DottedRuleList > | CollType |
Protected Attributes | |
CollType | m_coll |
DottedRuleList | m_expandableDottedRuleList |
DottedRuleMap | m_expandableDottedRuleListTerminalsOnly |
Definition at line 61 of file DotChartInMemory.h.
typedef std::vector<DottedRuleList> Moses::DottedRuleColl::CollType [protected] |
Definition at line 64 of file DotChartInMemory.h.
typedef CollType::const_iterator Moses::DottedRuleColl::const_iterator |
Definition at line 71 of file DotChartInMemory.h.
typedef CollType::iterator Moses::DottedRuleColl::iterator |
Definition at line 70 of file DotChartInMemory.h.
Moses::DottedRuleColl::DottedRuleColl | ( | size_t | size | ) | [inline] |
Definition at line 86 of file DotChartInMemory.h.
Moses::DottedRuleColl::~DottedRuleColl | ( | ) |
void Moses::DottedRuleColl::Add | ( | size_t | pos, | |
const DottedRuleInMemory * | dottedRule | |||
) | [inline] |
Definition at line 99 of file DotChartInMemory.h.
References Moses::Range::GetEndPos(), Moses::DottedRuleInMemory::GetLastNode(), Moses::PhraseDictionaryNodeMemory::GetNonTerminalMap(), Moses::DottedRule::GetWordsRange(), Moses::PhraseDictionaryNodeMemory::IsLeaf(), Moses::DottedRule::IsRoot(), m_coll, m_expandableDottedRuleList, m_expandableDottedRuleListTerminalsOnly, NULL, and UTIL_THROW_IF2.
iterator Moses::DottedRuleColl::begin | ( | ) | [inline] |
const_iterator Moses::DottedRuleColl::begin | ( | ) | const [inline] |
void Moses::DottedRuleColl::Clear | ( | size_t | pos | ) | [inline] |
iterator Moses::DottedRuleColl::end | ( | ) | [inline] |
const_iterator Moses::DottedRuleColl::end | ( | ) | const [inline] |
DottedRuleList& Moses::DottedRuleColl::Get | ( | size_t | pos | ) | [inline] |
const DottedRuleList& Moses::DottedRuleColl::Get | ( | size_t | pos | ) | const [inline] |
const DottedRuleList& Moses::DottedRuleColl::GetExpandableDottedRuleList | ( | ) | const [inline] |
DottedRuleMap& Moses::DottedRuleColl::GetExpandableDottedRuleListTerminalsOnly | ( | ) | [inline] |
Definition at line 122 of file DotChartInMemory.h.
References m_expandableDottedRuleListTerminalsOnly.
CollType Moses::DottedRuleColl::m_coll [protected] |
Definition at line 65 of file DotChartInMemory.h.
Referenced by Add(), begin(), Clear(), end(), Get(), and ~DottedRuleColl().
Definition at line 66 of file DotChartInMemory.h.
Referenced by Add(), and GetExpandableDottedRuleList().
Definition at line 67 of file DotChartInMemory.h.
Referenced by Add(), and GetExpandableDottedRuleListTerminalsOnly().