#include <ControlRecombination.h>
Public Member Functions | |
ControlRecombinationState (const ControlRecombination &ff) | |
ControlRecombinationState (const Hypothesis &hypo, const ControlRecombination &ff) | |
ControlRecombinationState (const ChartHypothesis &hypo, const ControlRecombination &ff) | |
virtual size_t | hash () const |
virtual bool | operator== (const FFState &other) const |
const Phrase & | GetPhrase () const |
Protected Attributes | |
Phrase | m_outputPhrase |
const ControlRecombination & | m_ff |
const void * | m_hypo |
Definition at line 19 of file ControlRecombination.h.
Moses::ControlRecombinationState::ControlRecombinationState | ( | const ControlRecombination & | ff | ) | [inline] |
Definition at line 22 of file ControlRecombination.h.
Moses::ControlRecombinationState::ControlRecombinationState | ( | const Hypothesis & | hypo, | |
const ControlRecombination & | ff | |||
) |
Definition at line 15 of file ControlRecombination.cpp.
References Moses::Hypothesis::GetOutputPhrase(), Moses::ControlRecombination::GetType(), m_hypo, m_outputPhrase, and Moses::SameOutput.
Moses::ControlRecombinationState::ControlRecombinationState | ( | const ChartHypothesis & | hypo, | |
const ControlRecombination & | ff | |||
) |
Definition at line 26 of file ControlRecombination.cpp.
References Moses::ChartHypothesis::GetOutputPhrase(), Moses::ControlRecombination::GetType(), m_hypo, m_outputPhrase, and Moses::SameOutput.
const Phrase& Moses::ControlRecombinationState::GetPhrase | ( | ) | const [inline] |
size_t Moses::ControlRecombinationState::hash | ( | ) | const [virtual] |
Implements Moses::FFState.
Definition at line 36 of file ControlRecombination.cpp.
References Moses::ControlRecombination::GetType(), Moses::hash_value(), m_ff, m_hypo, m_outputPhrase, and Moses::SameOutput.
bool Moses::ControlRecombinationState::operator== | ( | const FFState & | other | ) | const [virtual] |
Implements Moses::FFState.
Definition at line 48 of file ControlRecombination.cpp.
References Moses::ControlRecombination::GetType(), m_ff, m_hypo, m_outputPhrase, and Moses::SameOutput.
const ControlRecombination& Moses::ControlRecombinationState::m_ff [protected] |
const void* Moses::ControlRecombinationState::m_hypo [protected] |
Definition at line 39 of file ControlRecombination.h.
Referenced by ControlRecombinationState(), hash(), and operator==().
Definition at line 37 of file ControlRecombination.h.
Referenced by ControlRecombinationState(), GetPhrase(), hash(), and operator==().