MosesTraining::AlignmentPhrase Class Reference

#include <AlignmentPhrase.h>

List of all members.

Public Member Functions

 AlignmentPhrase (size_t size)
void Merge (const AlignmentPhrase &newAlignment, const WordsRange &newAlignmentRange)
void Merge (const std::vector< std::vector< size_t > > &source)
size_t GetSize () const
const AlignmentElementGetElement (size_t pos) const

Protected Attributes

std::vector< AlignmentElementm_elements

Detailed Description

Definition at line 55 of file AlignmentPhrase.h.

Constructor & Destructor Documentation

MosesTraining::AlignmentPhrase::AlignmentPhrase ( size_t  size  )  [inline]

Definition at line 60 of file AlignmentPhrase.h.

Member Function Documentation

const AlignmentElement& MosesTraining::AlignmentPhrase::GetElement ( size_t  pos  )  const [inline]

Definition at line 68 of file AlignmentPhrase.h.

References m_elements.

size_t MosesTraining::AlignmentPhrase::GetSize (  )  const [inline]

Definition at line 65 of file AlignmentPhrase.h.

References m_elements.

void MosesTraining::AlignmentPhrase::Merge ( const std::vector< std::vector< size_t > > &  source  ) 

Definition at line 35 of file AlignmentPhrase.cpp.

References m_elements, and MosesTraining::AlignmentElement::Merge().

Here is the call graph for this function:

void MosesTraining::AlignmentPhrase::Merge ( const AlignmentPhrase newAlignment,
const WordsRange &  newAlignmentRange 

Member Data Documentation

Definition at line 58 of file AlignmentPhrase.h.

Referenced by GetElement(), GetSize(), and Merge().

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

Generated on Thu Jul 6 00:34:05 2017 for Moses by  doxygen 1.5.9