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. Used by phrase-based decoding

Definition at line 35 of file TrellisPathList.h.


Member Typedef Documentation

Definition at line 42 of file TrellisPathList.h.

Definition at line 41 of file TrellisPathList.h.


Constructor & Destructor Documentation

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

Definition at line 57 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 63 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 79 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 50 of file TrellisPathList.h.

References m_collection.

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

Definition at line 44 of file TrellisPathList.h.

References m_collection.

Referenced by Moses::doConsensusDecoding(), doMBR(), Moses::getLatticeMBRNBest(), and Moses::Manager::OutputNBest().

Here is the caller graph for this function:

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

Definition at line 53 of file TrellisPathList.h.

References m_collection.

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

Definition at line 47 of file TrellisPathList.h.

References m_collection.

Referenced by Moses::doConsensusDecoding(), doMBR(), Moses::getLatticeMBRNBest(), and Moses::Manager::OutputNBest().

Here is the caller graph for this function:

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

Definition at line 75 of file TrellisPathList.h.

References m_collection.

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

Here is the caller graph for this function:

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

Definition at line 67 of file TrellisPathList.h.

References m_collection.


Member Data Documentation

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

Definition at line 38 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 Thu Jul 6 00:33:58 2017 for Moses by  doxygen 1.5.9