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 34 of file ChartTrellisDetourQueue.h.


Constructor & Destructor Documentation

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

Definition at line 38 of file ChartTrellisDetourQueue.h.

Moses::ChartTrellisDetourQueue::~ChartTrellisDetourQueue (  ) 

Definition at line 27 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 41 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 49 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 32 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 Mon Oct 20 00:31:24 2014 for Moses by  doxygen 1.5.9