Moses::ConstrainedDecodingState Class Reference

#include <ConstrainedDecoding.h>

Inheritance diagram for Moses::ConstrainedDecodingState:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConstrainedDecodingState ()
 ConstrainedDecodingState (const Hypothesis &hypo)
 ConstrainedDecodingState (const ChartHypothesis &hypo)
virtual size_t hash () const
virtual bool operator== (const FFState &other) const
const PhraseGetPhrase () const

Protected Attributes

Phrase m_outputPhrase


Detailed Description

Definition at line 11 of file ConstrainedDecoding.h.


Constructor & Destructor Documentation

Moses::ConstrainedDecodingState::ConstrainedDecodingState (  )  [inline]

Definition at line 14 of file ConstrainedDecoding.h.

Moses::ConstrainedDecodingState::ConstrainedDecodingState ( const Hypothesis hypo  ) 

Definition at line 15 of file ConstrainedDecoding.cpp.

References Moses::Hypothesis::GetOutputPhrase(), and m_outputPhrase.

Here is the call graph for this function:

Moses::ConstrainedDecodingState::ConstrainedDecodingState ( const ChartHypothesis hypo  ) 

Definition at line 20 of file ConstrainedDecoding.cpp.

References Moses::ChartHypothesis::GetOutputPhrase(), and m_outputPhrase.

Here is the call graph for this function:


Member Function Documentation

const Phrase& Moses::ConstrainedDecodingState::GetPhrase (  )  const [inline]

Definition at line 23 of file ConstrainedDecoding.h.

References m_outputPhrase.

Referenced by Moses::ConstrainedDecoding::EvaluateWhenApplied().

Here is the caller graph for this function:

size_t Moses::ConstrainedDecodingState::hash (  )  const [virtual]

Implements Moses::FFState.

Definition at line 25 of file ConstrainedDecoding.cpp.

References Moses::hash_value(), and m_outputPhrase.

Here is the call graph for this function:

bool Moses::ConstrainedDecodingState::operator== ( const FFState other  )  const [virtual]

Implements Moses::FFState.

Definition at line 31 of file ConstrainedDecoding.cpp.

References m_outputPhrase.


Member Data Documentation

Definition at line 28 of file ConstrainedDecoding.h.

Referenced by ConstrainedDecodingState(), GetPhrase(), hash(), and operator==().


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

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