Moses::HReorderingBackwardState Class Reference

#include <HReorderingBackwardState.h>

Inheritance diagram for Moses::HReorderingBackwardState:

Inheritance graph
Collaboration diagram for Moses::HReorderingBackwardState:

Collaboration graph

List of all members.

Public Member Functions

 HReorderingBackwardState (const LRModel &config, size_t offset)
 HReorderingBackwardState (const HReorderingBackwardState *prev, const TranslationOption &topt, ReorderingStack reoStack)
virtual size_t hash () const
virtual bool operator== (const FFState &other) const
virtual LRStateExpand (const TranslationOption &hypo, const InputType &input, ScoreComponentCollection *scores) const

Detailed Description

State for a hierarchical reordering model (see Galley and Manning, A Simple and Effective Hierarchical Phrase Reordering Model, EMNLP 2008) backward state (conditioned on the previous phrase)

Definition at line 11 of file HReorderingBackwardState.h.

Constructor & Destructor Documentation

Moses::HReorderingBackwardState::HReorderingBackwardState ( const LRModel config,
size_t  offset 

Definition at line 17 of file HReorderingBackwardState.cpp.

Referenced by Expand().

Here is the caller graph for this function:

Moses::HReorderingBackwardState::HReorderingBackwardState ( const HReorderingBackwardState prev,
const TranslationOption topt,
ReorderingStack  reoStack 

Definition at line 10 of file HReorderingBackwardState.cpp.

Member Function Documentation

LRState * Moses::HReorderingBackwardState::Expand ( const TranslationOption hypo,
const InputType input,
ScoreComponentCollection scores 
) const [virtual]

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

Implements Moses::FFState.

Definition at line 21 of file HReorderingBackwardState.cpp.

References Moses::ReorderingStack::hash().

Here is the call graph for this function:

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

Implements Moses::FFState.

Definition at line 27 of file HReorderingBackwardState.cpp.

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

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