#include <TrellisPathCollection.h>
Public Member Functions | |
TrellisPath * | pop () |
~TrellisPathCollection () | |
void | Add (TrellisPath *trellisPath) |
add a new entry into collection | |
size_t | GetSize () const |
void | Prune (size_t newSize) |
Protected Types | |
typedef std::multiset < TrellisPath *, CompareTrellisPathCollection > | CollectionType |
Protected Attributes | |
CollectionType | m_collection |
Friends | |
std::ostream & | operator<< (std::ostream &, const TrellisPathCollection &) |
Definition at line 42 of file TrellisPathCollection.h.
typedef std::multiset<TrellisPath*, CompareTrellisPathCollection> Moses::TrellisPathCollection::CollectionType [protected] |
Definition at line 47 of file TrellisPathCollection.h.
Moses::TrellisPathCollection::~TrellisPathCollection | ( | ) | [inline] |
Definition at line 60 of file TrellisPathCollection.h.
References m_collection, and Moses::RemoveAllInColl().
void Moses::TrellisPathCollection::Add | ( | TrellisPath * | trellisPath | ) | [inline] |
add a new entry into collection
Definition at line 66 of file TrellisPathCollection.h.
References m_collection.
Referenced by Moses::Manager::CalcNBest(), and Moses::TrellisPath::CreateDeviantPaths().
size_t Moses::TrellisPathCollection::GetSize | ( | ) | const [inline] |
Definition at line 70 of file TrellisPathCollection.h.
References m_collection.
Referenced by Moses::Manager::CalcNBest().
TrellisPath* Moses::TrellisPathCollection::pop | ( | ) | [inline] |
Definition at line 52 of file TrellisPathCollection.h.
References m_collection.
Referenced by Moses::Manager::CalcNBest().
void Moses::TrellisPathCollection::Prune | ( | size_t | newSize | ) |
Definition at line 6 of file TrellisPathCollection.cpp.
References m_collection.
Referenced by Moses::Manager::CalcNBest().
std::ostream& operator<< | ( | std::ostream & | out, | |
const TrellisPathCollection & | pathColl | |||
) | [friend] |
Definition at line 77 of file TrellisPathCollection.h.
Definition at line 48 of file TrellisPathCollection.h.
Referenced by Add(), GetSize(), Moses::operator<<(), pop(), Prune(), and ~TrellisPathCollection().