#include <TrellisPathList.h>
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 TrellisPath * | pop () |
| size_t | GetSize () const |
| const TrellisPath | at (size_t position) const |
Protected Attributes | |
| std::list< const TrellisPath * > | m_collection |
Definition at line 35 of file TrellisPathList.h.
| typedef std::list<const TrellisPath*>::const_iterator Moses::TrellisPathList::const_iterator |
Definition at line 42 of file TrellisPathList.h.
| typedef std::list<const TrellisPath*>::iterator Moses::TrellisPathList::iterator |
Definition at line 41 of file TrellisPathList.h.
| Moses::TrellisPathList::~TrellisPathList | ( | ) | [inline] |
Definition at line 57 of file TrellisPathList.h.
References m_collection, and Moses::RemoveAllInColl().

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

| const TrellisPath Moses::TrellisPathList::at | ( | size_t | position | ) | const [inline] |
Definition at line 79 of file TrellisPathList.h.
References m_collection.
Referenced by doMBR().

| const_iterator Moses::TrellisPathList::begin | ( | ) | const [inline] |
| 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().

| const_iterator Moses::TrellisPathList::end | ( | ) | const [inline] |
| 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().

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

| const TrellisPath* Moses::TrellisPathList::pop | ( | ) | [inline] |
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().
1.5.9