#include <DecodeGraph.h>
Public Types | |
| typedef std::list< const DecodeStep * >::iterator | iterator |
| iterators | |
| typedef std::list< const DecodeStep * >::const_iterator | const_iterator |
Public Member Functions | |
| DecodeGraph (size_t position) | |
| DecodeGraph (size_t position, size_t maxChartSpan) | |
| const_iterator | begin () const |
| const_iterator | end () const |
| virtual | ~DecodeGraph () |
| void | Add (const DecodeStep *decodeStep) |
| Add another decode step to the graph. | |
| size_t | GetSize () const |
| size_t | GetMaxChartSpan () const |
| size_t | GetPosition () const |
Protected Attributes | |
| std::list< const DecodeStep * > | m_steps |
| size_t | m_position |
| size_t | m_maxChartSpan |
Definition at line 37 of file DecodeGraph.h.
| typedef std::list<const DecodeStep*>::const_iterator Moses::DecodeGraph::const_iterator |
Definition at line 61 of file DecodeGraph.h.
| typedef std::list<const DecodeStep*>::iterator Moses::DecodeGraph::iterator |
| Moses::DecodeGraph::DecodeGraph | ( | size_t | position | ) | [inline] |
position: The position of this graph within the decode sequence.
Definition at line 48 of file DecodeGraph.h.
| Moses::DecodeGraph::DecodeGraph | ( | size_t | position, | |
| size_t | maxChartSpan | |||
| ) | [inline] |
Definition at line 54 of file DecodeGraph.h.
| Moses::DecodeGraph::~DecodeGraph | ( | ) | [virtual] |
Definition at line 30 of file DecodeGraph.cpp.
References m_steps, and Moses::RemoveAllInColl().

| void Moses::DecodeGraph::Add | ( | const DecodeStep * | decodeStep | ) | [inline] |
Add another decode step to the graph.
Definition at line 72 of file DecodeGraph.h.
References m_steps.
| const_iterator Moses::DecodeGraph::begin | ( | ) | const [inline] |
Definition at line 62 of file DecodeGraph.h.
References m_steps.
Referenced by Moses::TranslationOptionCollection::CreateTranslationOptionsForRange().

| const_iterator Moses::DecodeGraph::end | ( | ) | const [inline] |
Definition at line 65 of file DecodeGraph.h.
References m_steps.
Referenced by Moses::TranslationOptionCollection::CreateTranslationOptionsForRange().

| size_t Moses::DecodeGraph::GetMaxChartSpan | ( | ) | const [inline] |
Definition at line 80 of file DecodeGraph.h.
References CHECK, m_maxChartSpan, and NOT_FOUND.
Referenced by Moses::ChartTranslationOptionCollection::CreateTranslationOptionsForRange().

| size_t Moses::DecodeGraph::GetPosition | ( | ) | const [inline] |
Definition at line 85 of file DecodeGraph.h.
References m_position.
Referenced by Moses::StaticData::AddTransOptListToCache(), and Moses::StaticData::FindTransOptListInCache().

| size_t Moses::DecodeGraph::GetSize | ( | ) | const [inline] |
Definition at line 76 of file DecodeGraph.h.
References m_steps.
Referenced by Moses::ChartTranslationOptionCollection::CreateTranslationOptionsForRange().

size_t Moses::DecodeGraph::m_maxChartSpan [protected] |
size_t Moses::DecodeGraph::m_position [protected] |
std::list<const DecodeStep*> Moses::DecodeGraph::m_steps [protected] |
Definition at line 40 of file DecodeGraph.h.
Referenced by Add(), begin(), end(), GetSize(), and ~DecodeGraph().
1.5.9