Moses::TargetNgramChartState Class Reference

#include <TargetNgramFeature.h>

Inheritance diagram for Moses::TargetNgramChartState:

Inheritance graph
[legend]
Collaboration diagram for Moses::TargetNgramChartState:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TargetNgramChartState (const ChartHypothesis &hypo, int featureId, size_t order)
size_t GetNumTargetTerminals () const
const PhraseGetPrefix () const
const PhraseGetSuffix () const
size_t hash () const
virtual bool operator== (const FFState &o) const


Detailed Description

Definition at line 37 of file TargetNgramFeature.h.


Constructor & Destructor Documentation

Moses::TargetNgramChartState::TargetNgramChartState ( const ChartHypothesis hypo,
int  featureId,
size_t  order 
) [inline]


Member Function Documentation

size_t Moses::TargetNgramChartState::GetNumTargetTerminals (  )  const [inline]

Definition at line 150 of file TargetNgramFeature.h.

Referenced by Moses::TargetNgramFeature::EvaluateWhenApplied(), and TargetNgramChartState().

Here is the caller graph for this function:

const Phrase& Moses::TargetNgramChartState::GetPrefix (  )  const [inline]

Definition at line 154 of file TargetNgramFeature.h.

Referenced by Moses::TargetNgramFeature::EvaluateWhenApplied(), hash(), and operator==().

Here is the caller graph for this function:

const Phrase& Moses::TargetNgramChartState::GetSuffix (  )  const [inline]

Definition at line 157 of file TargetNgramFeature.h.

Referenced by Moses::TargetNgramFeature::EvaluateWhenApplied(), hash(), and operator==().

Here is the caller graph for this function:

size_t Moses::TargetNgramChartState::hash (  )  const [inline, virtual]

Implements Moses::FFState.

Definition at line 161 of file TargetNgramFeature.h.

References GetPrefix(), GetSuffix(), and Moses::hash_value().

Here is the call graph for this function:

virtual bool Moses::TargetNgramChartState::operator== ( const FFState o  )  const [inline, virtual]

Implements Moses::FFState.

Definition at line 180 of file TargetNgramFeature.h.

References GetPrefix(), and GetSuffix().

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:12 2017 for Moses by  doxygen 1.5.9