#include <ConstrainedDecoding.h>
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 Phrase & | GetPhrase () const |
Protected Attributes | |
Phrase | m_outputPhrase |
Definition at line 11 of file ConstrainedDecoding.h.
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.
Moses::ConstrainedDecodingState::ConstrainedDecodingState | ( | const ChartHypothesis & | hypo | ) |
Definition at line 20 of file ConstrainedDecoding.cpp.
References Moses::ChartHypothesis::GetOutputPhrase(), and m_outputPhrase.
const Phrase& Moses::ConstrainedDecodingState::GetPhrase | ( | ) | const [inline] |
Definition at line 23 of file ConstrainedDecoding.h.
References m_outputPhrase.
Referenced by Moses::ConstrainedDecoding::EvaluateWhenApplied().
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.
bool Moses::ConstrainedDecodingState::operator== | ( | const FFState & | other | ) | const [virtual] |
Implements Moses::FFState.
Definition at line 31 of file ConstrainedDecoding.cpp.
References m_outputPhrase.
Definition at line 28 of file ConstrainedDecoding.h.
Referenced by ConstrainedDecodingState(), GetPhrase(), hash(), and operator==().