Moses::AlignmentInfo Class Reference

#include <AlignmentInfo.h>

List of all members.

Public Types

typedef std::vector< size_t > NonTermIndexMap
typedef CollType::const_iterator const_iterator

Public Member Functions

const_iterator begin () const
const_iterator end () const
const NonTermIndexMapGetNonTermIndexMap () const
size_t GetSize () const
std::vector< const std::pair
< size_t, size_t > * > 
GetSortedAlignments () const

Friends

struct AlignmentInfoOrderer
class AlignmentInfoCollection
std::ostream & operator<< (std::ostream &, const AlignmentInfo &)


Detailed Description

Definition at line 32 of file AlignmentInfo.h.


Member Typedef Documentation

typedef CollType::const_iterator Moses::AlignmentInfo::const_iterator

Definition at line 42 of file AlignmentInfo.h.

typedef std::vector<size_t> Moses::AlignmentInfo::NonTermIndexMap

Definition at line 41 of file AlignmentInfo.h.


Member Function Documentation

const_iterator Moses::AlignmentInfo::begin (  )  const [inline]

Definition at line 44 of file AlignmentInfo.h.

Referenced by Moses::PhraseDictionarySCFG::GetOrCreateNode(), Moses::UTrieNode::GetOrCreateTargetPhraseCollection(), and Moses::operator<<().

Here is the caller graph for this function:

const_iterator Moses::AlignmentInfo::end (  )  const [inline]

Definition at line 45 of file AlignmentInfo.h.

Referenced by Moses::PhraseDictionarySCFG::GetOrCreateNode(), Moses::UTrieNode::GetOrCreateTargetPhraseCollection(), and Moses::operator<<().

Here is the caller graph for this function:

const NonTermIndexMap& Moses::AlignmentInfo::GetNonTermIndexMap (  )  const [inline]

size_t Moses::AlignmentInfo::GetSize (  )  const [inline]

Definition at line 54 of file AlignmentInfo.h.

Referenced by Moses::UTrieNode::GetOrCreateTargetPhraseCollection().

Here is the caller graph for this function:

std::vector< const std::pair< size_t, size_t > * > Moses::AlignmentInfo::GetSortedAlignments (  )  const

Definition at line 55 of file AlignmentInfo.cpp.

References CHECK, Moses::compare_target(), Moses::StaticData::GetWordAlignmentSort(), Moses::StaticData::Instance(), Moses::NoSort, and Moses::TargetOrder.

Referenced by OutputAlignment().

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class AlignmentInfoCollection [friend]

Definition at line 38 of file AlignmentInfo.h.

friend struct AlignmentInfoOrderer [friend]

Definition at line 37 of file AlignmentInfo.h.

std::ostream& operator<< ( std::ostream &  out,
const AlignmentInfo alignmentInfo 
) [friend]

Definition at line 86 of file AlignmentInfo.cpp.


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