#include <LexicalReorderingState.h>


Public Member Functions | |
| HierarchicalReorderingForwardState (const LexicalReorderingConfiguration &config, size_t sentenceLength, size_t offset) | |
| HierarchicalReorderingForwardState (const HierarchicalReorderingForwardState *prev, const TranslationOption &topt) | |
| virtual int | Compare (const FFState &o) const |
| virtual LexicalReorderingState * | Expand (const TranslationOption &hypo, Scores &scores) const |
Definition at line 173 of file LexicalReorderingState.h.
| Moses::HierarchicalReorderingForwardState::HierarchicalReorderingForwardState | ( | const LexicalReorderingConfiguration & | config, | |
| size_t | sentenceLength, | |||
| size_t | offset | |||
| ) |
Definition at line 387 of file LexicalReorderingState.cpp.
Referenced by Expand().

| Moses::HierarchicalReorderingForwardState::HierarchicalReorderingForwardState | ( | const HierarchicalReorderingForwardState * | prev, | |
| const TranslationOption & | topt | |||
| ) |
Definition at line 390 of file LexicalReorderingState.cpp.
References Moses::WordsRange::GetEndPos(), Moses::TranslationOption::GetSourceWordsRange(), Moses::WordsRange::GetStartPos(), and Moses::WordsBitmap::SetValue().

| int Moses::HierarchicalReorderingForwardState::Compare | ( | const FFState & | o | ) | const [virtual] |
Implements Moses::LexicalReorderingState.
Definition at line 397 of file LexicalReorderingState.cpp.
References CHECK, Moses::LexicalReorderingState::ComparePrevScores(), Moses::LexicalReorderingState::m_prevScore, and NULL.

| LexicalReorderingState * Moses::HierarchicalReorderingForwardState::Expand | ( | const TranslationOption & | hypo, | |
| Scores & | scores | |||
| ) | const [virtual] |
Implements Moses::LexicalReorderingState.
Definition at line 423 of file LexicalReorderingState.cpp.
References Moses::LexicalReorderingState::ClearScores(), Moses::LexicalReorderingState::CopyScores(), Moses::WordsRange::GetEndPos(), Moses::LexicalReorderingConfiguration::GetModelType(), Moses::TranslationOption::GetSourceWordsRange(), Moses::WordsRange::GetStartPos(), HierarchicalReorderingForwardState(), Moses::LexicalReorderingState::m_configuration, Moses::LexicalReorderingConfiguration::Monotonic, Moses::LexicalReorderingConfiguration::MSD, Moses::LexicalReorderingConfiguration::MSLR, and Moses::WordsBitmap::SetValue().

1.5.9