Moses::TrellisPathList Class Reference

#include <TrellisPathList.h>

List of all members.

Public Types

typedef std::list< const
TrellisPath * >::iterator 
iterator
typedef std::list< const
TrellisPath * >
::const_iterator 
const_iterator

Public Member Functions

iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
 ~TrellisPathList ()
void Add (TrellisPath *trellisPath)
 add a new entry into collection
const TrellisPathpop ()
size_t GetSize () const
const TrellisPath at (size_t position) const

Protected Attributes

std::list< const TrellisPath * > m_collection


Detailed Description

used to return n-best list of Trellis Paths from the Manager to the caller

Definition at line 33 of file TrellisPathList.h.


Member Typedef Documentation

Definition at line 40 of file TrellisPathList.h.

Definition at line 39 of file TrellisPathList.h.


Constructor & Destructor Documentation

Moses::TrellisPathList::~TrellisPathList (  )  [inline]

Definition at line 55 of file TrellisPathList.h.

References m_collection, and Moses::RemoveAllInColl().

Here is the call graph for this function:


Member Function Documentation

void Moses::TrellisPathList::Add ( TrellisPath trellisPath  )  [inline]

add a new entry into collection

Definition at line 61 of file TrellisPathList.h.

References m_collection.

Referenced by Moses::Manager::CalcLatticeSamples(), Moses::Manager::CalcNBest(), and Moses::TrellisPath::CreateDeviantPaths().

Here is the caller graph for this function:

const TrellisPath Moses::TrellisPathList::at ( size_t  position  )  const [inline]

Definition at line 77 of file TrellisPathList.h.

References m_collection.

Referenced by doMBR().

Here is the caller graph for this function:

const_iterator Moses::TrellisPathList::begin (  )  const [inline]

Definition at line 48 of file TrellisPathList.h.

References m_collection.

iterator Moses::TrellisPathList::begin (  )  [inline]

Definition at line 42 of file TrellisPathList.h.

References m_collection.

Referenced by doConsensusDecoding(), doMBR(), getLatticeMBRNBest(), and OutputNBest().

Here is the caller graph for this function:

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

Definition at line 51 of file TrellisPathList.h.

References m_collection.

iterator Moses::TrellisPathList::end (  )  [inline]

Definition at line 45 of file TrellisPathList.h.

References m_collection.

Referenced by doConsensusDecoding(), doMBR(), getLatticeMBRNBest(), and OutputNBest().

Here is the caller graph for this function:

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

Definition at line 73 of file TrellisPathList.h.

References m_collection.

Referenced by Moses::Manager::CalcNBest(), doMBR(), and TranslationTask::Run().

Here is the caller graph for this function:

const TrellisPath* Moses::TrellisPathList::pop (  )  [inline]

Definition at line 65 of file TrellisPathList.h.

References m_collection.


Member Data Documentation

std::list<const TrellisPath*> Moses::TrellisPathList::m_collection [protected]

Definition at line 36 of file TrellisPathList.h.

Referenced by Add(), at(), begin(), end(), GetSize(), pop(), and ~TrellisPathList().


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

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