#include <BidirectionalReorderingState.h>
Public Member Functions | |
BidirectionalReorderingState (const LRModel &config, const LRState *bw, const LRState *fw, size_t offset) | |
~BidirectionalReorderingState () | |
virtual size_t | hash () const |
virtual bool | operator== (const FFState &other) const |
LRState * | Expand (const TranslationOption &topt, const InputType &input, ScoreComponentCollection *scores) const |
Definition at line 7 of file BidirectionalReorderingState.h.
Moses::BidirectionalReorderingState::BidirectionalReorderingState | ( | const LRModel & | config, | |
const LRState * | bw, | |||
const LRState * | fw, | |||
size_t | offset | |||
) | [inline] |
Definition at line 14 of file BidirectionalReorderingState.h.
Referenced by Expand().
Moses::BidirectionalReorderingState::~BidirectionalReorderingState | ( | ) | [inline] |
Definition at line 24 of file BidirectionalReorderingState.h.
LRState * Moses::BidirectionalReorderingState::Expand | ( | const TranslationOption & | topt, | |
const InputType & | input, | |||
ScoreComponentCollection * | scores | |||
) | const [virtual] |
Implements Moses::LRState.
Definition at line 29 of file BidirectionalReorderingState.cpp.
References BidirectionalReorderingState(), Moses::LRState::Expand(), Moses::LRState::m_configuration, and Moses::LRState::m_offset.
size_t Moses::BidirectionalReorderingState::hash | ( | ) | const [virtual] |
Implements Moses::FFState.
Definition at line 9 of file BidirectionalReorderingState.cpp.
References Moses::FFState::hash().
bool Moses::BidirectionalReorderingState::operator== | ( | const FFState & | other | ) | const [virtual] |