Moses::HReorderingForwardState Class Reference

forward state (conditioned on the next phrase) More...

#include <HReorderingForwardState.h>

Inheritance diagram for Moses::HReorderingForwardState:

Inheritance graph
[legend]
Collaboration diagram for Moses::HReorderingForwardState:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 HReorderingForwardState (const LRModel &config, size_t sentenceLength, size_t offset)
 HReorderingForwardState (const HReorderingForwardState *prev, const TranslationOption &topt)
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

forward state (conditioned on the next phrase)

Definition at line 11 of file HReorderingForwardState.h.


Constructor & Destructor Documentation

Moses::HReorderingForwardState::HReorderingForwardState ( const LRModel config,
size_t  sentenceLength,
size_t  offset 
)

Definition at line 10 of file HReorderingForwardState.cpp.

Referenced by Expand().

Here is the caller graph for this function:

Moses::HReorderingForwardState::HReorderingForwardState ( const HReorderingForwardState prev,
const TranslationOption topt 
)

Definition at line 19 of file HReorderingForwardState.cpp.


Member Function Documentation

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

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

Implements Moses::FFState.

Definition at line 28 of file HReorderingForwardState.cpp.

References Moses::hash_value().

Here is the call graph for this function:

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

Implements Moses::FFState.

Definition at line 35 of file HReorderingForwardState.cpp.

References Moses::LRState::ComparePrevScores(), and Moses::LRState::m_prevOption.

Here is the call graph for this function:


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