Moses::RuleCubeItem Class Reference

#include <RuleCubeItem.h>

Collaboration diagram for Moses::RuleCubeItem:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 RuleCubeItem (const ChartTranslationOptions &, const ChartCellCollection &)
 RuleCubeItem (const RuleCubeItem &, int)
 ~RuleCubeItem ()
const TranslationDimensionGetTranslationDimension () const
const std::vector
< HypothesisDimension > & 
GetHypothesisDimensions () const
float GetScore () const
void EstimateScore ()
void CreateHypothesis (const ChartTranslationOptions &, ChartManager &)
ChartHypothesisReleaseHypothesis ()
bool operator< (const RuleCubeItem &) const


Detailed Description

Todo:
How is this used. Split out into separate source file

Definition at line 113 of file RuleCubeItem.h.


Constructor & Destructor Documentation

Moses::RuleCubeItem::RuleCubeItem ( const ChartTranslationOptions transOpt,
const ChartCellCollection  
)

Definition at line 41 of file RuleCubeItem.cpp.

References Moses::ChartTranslationOptions::GetStackVec().

Here is the call graph for this function:

Moses::RuleCubeItem::RuleCubeItem ( const RuleCubeItem copy,
int  hypoDimensionIncr 
)

Definition at line 50 of file RuleCubeItem.cpp.

References Moses::HypothesisDimension::IncrementPos(), and Moses::TranslationDimension::IncrementPos().

Here is the call graph for this function:

Moses::RuleCubeItem::~RuleCubeItem (  ) 

Definition at line 63 of file RuleCubeItem.cpp.


Member Function Documentation

void Moses::RuleCubeItem::CreateHypothesis ( const ChartTranslationOptions transOpt,
ChartManager manager 
)

Definition at line 78 of file RuleCubeItem.cpp.

References Moses::ChartHypothesis::EvaluateWhenApplied(), and Moses::ChartHypothesis::GetFutureScore().

Referenced by Moses::RuleCubeQueue::Pop(), and Moses::RuleCube::RuleCube().

Here is the call graph for this function:

Here is the caller graph for this function:

void Moses::RuleCubeItem::EstimateScore (  ) 

Definition at line 68 of file RuleCubeItem.cpp.

References Moses::TranslationDimension::GetTranslationOption().

Referenced by Moses::RuleCube::RuleCube().

Here is the call graph for this function:

Here is the caller graph for this function:

const std::vector<HypothesisDimension>& Moses::RuleCubeItem::GetHypothesisDimensions (  )  const [inline]

Definition at line 124 of file RuleCubeItem.h.

Referenced by Moses::ChartHypothesis::ChartHypothesis(), Moses::RuleCubeItemEqualityPred::operator()(), and Moses::RuleCubeItemHasher::operator()().

Here is the caller graph for this function:

float Moses::RuleCubeItem::GetScore (  )  const [inline]

Definition at line 128 of file RuleCubeItem.h.

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

Here is the caller graph for this function:

const TranslationDimension& Moses::RuleCubeItem::GetTranslationDimension (  )  const [inline]

Definition at line 120 of file RuleCubeItem.h.

Referenced by Moses::RuleCubeItemEqualityPred::operator()(), and Moses::RuleCubeItemHasher::operator()().

Here is the caller graph for this function:

bool Moses::RuleCubeItem::operator< ( const RuleCubeItem compare  )  const

Definition at line 114 of file RuleCubeItem.cpp.

ChartHypothesis * Moses::RuleCubeItem::ReleaseHypothesis (  ) 

Definition at line 86 of file RuleCubeItem.cpp.

References NULL, and UTIL_THROW_IF2.

Referenced by Moses::RuleCubeQueue::Pop().

Here is the caller graph for this function:


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

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