Moses::TranslationDimension Class Reference

#include <RuleCubeItem.h>

List of all members.

Public Member Functions

 TranslationDimension (std::size_t pos, const ChartTranslationOptions::CollType &orderedTargetPhrases)
std::size_t IncrementPos ()
bool HasMoreTranslations () const
const boost::shared_ptr
< ChartTranslationOption
GetTranslationOption () const
bool operator< (const TranslationDimension &compare) const
bool operator== (const TranslationDimension &compare) const


Detailed Description

wrapper around list of target phrase translation options
Todo:
How is this used. Split out into separate source file

Definition at line 39 of file RuleCubeItem.h.


Constructor & Destructor Documentation

Moses::TranslationDimension::TranslationDimension ( std::size_t  pos,
const ChartTranslationOptions::CollType orderedTargetPhrases 
) [inline]

Definition at line 42 of file RuleCubeItem.h.


Member Function Documentation

const boost::shared_ptr<ChartTranslationOption> Moses::TranslationDimension::GetTranslationOption (  )  const [inline]

Definition at line 56 of file RuleCubeItem.h.

Referenced by Moses::RuleCubeItem::EstimateScore(), Moses::RuleCubeItemHasher::operator()(), operator<(), and operator==().

Here is the caller graph for this function:

bool Moses::TranslationDimension::HasMoreTranslations (  )  const [inline]

Definition at line 52 of file RuleCubeItem.h.

std::size_t Moses::TranslationDimension::IncrementPos (  )  [inline]

Definition at line 48 of file RuleCubeItem.h.

Referenced by Moses::RuleCubeItem::RuleCubeItem().

Here is the caller graph for this function:

bool Moses::TranslationDimension::operator< ( const TranslationDimension compare  )  const [inline]

Definition at line 60 of file RuleCubeItem.h.

References GetTranslationOption().

Here is the call graph for this function:

bool Moses::TranslationDimension::operator== ( const TranslationDimension compare  )  const [inline]

Definition at line 64 of file RuleCubeItem.h.

References GetTranslationOption().

Here is the call graph for this function:


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

Generated on Thu Jul 6 00:33:31 2017 for Moses by  doxygen 1.5.9