Moses::DecodeGraph Class Reference

list of DecodeStep s which factorizes the translation More...

#include <DecodeGraph.h>

List of all members.

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


Detailed Description

list of DecodeStep s which factorizes the translation

Definition at line 37 of file DecodeGraph.h.


Member Typedef Documentation

Definition at line 61 of file DecodeGraph.h.

typedef std::list<const DecodeStep*>::iterator Moses::DecodeGraph::iterator

iterators

Definition at line 60 of file DecodeGraph.h.


Constructor & Destructor Documentation

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().

Here is the call graph for this function:


Member Function Documentation

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().

Here is the caller graph for this function:

const_iterator Moses::DecodeGraph::end (  )  const [inline]

Definition at line 65 of file DecodeGraph.h.

References m_steps.

Referenced by Moses::TranslationOptionCollection::CreateTranslationOptionsForRange().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

size_t Moses::DecodeGraph::GetSize (  )  const [inline]

Definition at line 76 of file DecodeGraph.h.

References m_steps.

Referenced by Moses::ChartTranslationOptionCollection::CreateTranslationOptionsForRange().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 42 of file DecodeGraph.h.

Referenced by GetMaxChartSpan().

size_t Moses::DecodeGraph::m_position [protected]

Definition at line 41 of file DecodeGraph.h.

Referenced by GetPosition().

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().


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

Generated on Wed Feb 8 22:04:09 2012 for Moses by  doxygen 1.5.9