Moses::BitmapContainer Class Reference

#include <BitmapContainer.h>

Collaboration diagram for Moses::BitmapContainer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BitmapContainer (const WordsBitmap &bitmap, HypothesisStackCubePruning &stack)
 ~BitmapContainer ()
void Enqueue (int hypothesis_pos, int translation_pos, Hypothesis *hypothesis, BackwardsEdge *edge)
HypothesisQueueItemDequeue (bool keepValue=false)
HypothesisQueueItemTop () const
size_t Size ()
bool Empty () const
const WordsBitmapGetWordsBitmap ()
const HypothesisSetGetHypotheses () const
size_t GetHypothesesSize () const
const BackwardsEdgeSetGetBackwardsEdges ()
void InitializeEdges ()
void ProcessBestHypothesis ()
void EnsureMinStackHyps (const size_t minNumHyps)
void AddHypothesis (Hypothesis *hypothesis)
void AddBackwardsEdge (BackwardsEdge *edge)
void SortHypotheses ()


Detailed Description

Definition at line 201 of file BitmapContainer.h.


Constructor & Destructor Documentation

Moses::BitmapContainer::BitmapContainer ( const WordsBitmap bitmap,
HypothesisStackCubePruning stack 
)

Definition at line 251 of file BitmapContainer.cpp.

Moses::BitmapContainer::~BitmapContainer (  ) 

Definition at line 262 of file BitmapContainer.cpp.

References FREEHYPO, Moses::HypothesisQueueItem::GetHypothesis(), NULL, and Moses::RemoveAllInColl().

Here is the call graph for this function:


Member Function Documentation

void Moses::BitmapContainer::AddBackwardsEdge ( BackwardsEdge edge  ) 

Definition at line 375 of file BitmapContainer.cpp.

Referenced by Moses::HypothesisStackCubePruning::SetBitmapAccessor().

Here is the caller graph for this function:

void Moses::BitmapContainer::AddHypothesis ( Hypothesis hypothesis  ) 

Definition at line 355 of file BitmapContainer.cpp.

References CHECK.

Referenced by Moses::HypothesisStackCubePruning::AddHypothesesToBitmapContainers().

Here is the caller graph for this function:

HypothesisQueueItem * Moses::BitmapContainer::Dequeue ( bool  keepValue = false  ) 

Definition at line 296 of file BitmapContainer.cpp.

References NULL.

Referenced by ProcessBestHypothesis().

Here is the caller graph for this function:

bool Moses::BitmapContainer::Empty (  )  const

Definition at line 324 of file BitmapContainer.cpp.

Referenced by EnsureMinStackHyps(), Moses::BitmapContainerOrderer::operator()(), ProcessBestHypothesis(), and Moses::SearchCubePruning::ProcessSentence().

Here is the caller graph for this function:

void Moses::BitmapContainer::Enqueue ( int  hypothesis_pos,
int  translation_pos,
Hypothesis hypothesis,
BackwardsEdge edge 
)

Definition at line 283 of file BitmapContainer.cpp.

Referenced by Moses::BackwardsEdge::Initialize(), and Moses::BackwardsEdge::PushSuccessors().

Here is the caller graph for this function:

void Moses::BitmapContainer::EnsureMinStackHyps ( const size_t  minNumHyps  ) 

Definition at line 395 of file BitmapContainer.cpp.

References Empty(), and ProcessBestHypothesis().

Here is the call graph for this function:

const BackwardsEdgeSet & Moses::BitmapContainer::GetBackwardsEdges (  ) 

Definition at line 349 of file BitmapContainer.cpp.

const HypothesisSet & Moses::BitmapContainer::GetHypotheses (  )  const

Definition at line 337 of file BitmapContainer.cpp.

Referenced by Moses::BackwardsEdge::BackwardsEdge().

Here is the caller graph for this function:

size_t Moses::BitmapContainer::GetHypothesesSize (  )  const

Definition at line 343 of file BitmapContainer.cpp.

Referenced by Moses::SearchCubePruning::CreateForwardTodos().

Here is the caller graph for this function:

const WordsBitmap & Moses::BitmapContainer::GetWordsBitmap (  ) 

Definition at line 331 of file BitmapContainer.cpp.

void Moses::BitmapContainer::InitializeEdges (  ) 

Definition at line 381 of file BitmapContainer.cpp.

References Moses::BackwardsEdge::Initialize().

Here is the call graph for this function:

void Moses::BitmapContainer::ProcessBestHypothesis (  ) 

size_t Moses::BitmapContainer::Size (  ) 

Definition at line 318 of file BitmapContainer.cpp.

void Moses::BitmapContainer::SortHypotheses (  ) 

Definition at line 444 of file BitmapContainer.cpp.

Referenced by Moses::SearchCubePruning::CreateForwardTodos().

Here is the caller graph for this function:

HypothesisQueueItem * Moses::BitmapContainer::Top (  )  const

Definition at line 312 of file BitmapContainer.cpp.

Referenced by Moses::BitmapContainerOrderer::operator()().

Here is the caller graph for this function:


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

Generated on Wed Feb 8 22:04:09 2012 for Moses by  doxygen 1.5.9