Moses::ChartTrellisDetourQueue Class Reference

#include <ChartTrellisDetourQueue.h>

List of all members.

Classes

struct  DetourOrderer

Public Member Functions

 ChartTrellisDetourQueue (size_t c)
 ~ChartTrellisDetourQueue ()
bool Empty () const
void Push (const ChartTrellisDetour *detour)
const ChartTrellisDetourPop ()


Detailed Description

A bounded priority queue of ChartTrellisDetour pointers. The top item is the best scoring detour. The queue assumes ownership of pushed items and relinquishes ownership when they are popped. Any remaining items at the time of the queue's destruction are deleted.

Definition at line 33 of file ChartTrellisDetourQueue.h.


Constructor & Destructor Documentation

Moses::ChartTrellisDetourQueue::ChartTrellisDetourQueue ( size_t  c  )  [inline]

Definition at line 36 of file ChartTrellisDetourQueue.h.

Moses::ChartTrellisDetourQueue::~ChartTrellisDetourQueue (  ) 

Definition at line 26 of file ChartTrellisDetourQueue.cpp.

References Moses::RemoveAllInColl().

Here is the call graph for this function:


Member Function Documentation

bool Moses::ChartTrellisDetourQueue::Empty (  )  const [inline]

Definition at line 39 of file ChartTrellisDetourQueue.h.

Referenced by Moses::ChartManager::CalcNBest().

Here is the caller graph for this function:

const ChartTrellisDetour * Moses::ChartTrellisDetourQueue::Pop (  ) 

Definition at line 46 of file ChartTrellisDetourQueue.cpp.

Referenced by Moses::ChartManager::CalcNBest().

Here is the caller graph for this function:

void Moses::ChartTrellisDetourQueue::Push ( const ChartTrellisDetour detour  ) 

Definition at line 30 of file ChartTrellisDetourQueue.cpp.

References Moses::ChartTrellisDetour::GetTotalScore().

Referenced by Moses::ChartManager::CalcNBest().

Here is the call graph for this function:

Here is the caller graph for this function:


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

Generated on Sun May 26 00:31:53 2013 for Moses by  doxygen 1.5.9