Moses::VWState Class Reference

#include <VWState.h>

Inheritance diagram for Moses::VWState:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 VWState ()
 VWState (const Phrase &phrase)
 VWState (const VWState &prevState, const Hypothesis &curHypo)
virtual bool operator== (const FFState &o) const
virtual size_t hash () const
const PhraseGetPhrase () const
size_t GetSpanStart () const
size_t GetSpanEnd () const


Detailed Description

VW state, used in decoding (when target context is enabled).

Definition at line 15 of file VWState.h.


Constructor & Destructor Documentation

Moses::VWState::VWState (  ) 

Definition at line 15 of file VWState.cpp.

Moses::VWState::VWState ( const Phrase phrase  ) 

Definition at line 20 of file VWState.cpp.

Moses::VWState::VWState ( const VWState prevState,
const Hypothesis curHypo 
)


Member Function Documentation

const Phrase& Moses::VWState::GetPhrase (  )  const [inline]

Definition at line 33 of file VWState.h.

Referenced by Moses::VW::EvaluateWhenApplied(), Moses::operator<<(), operator==(), and VWState().

Here is the caller graph for this function:

size_t Moses::VWState::GetSpanEnd (  )  const [inline]

Definition at line 41 of file VWState.h.

Referenced by Moses::operator<<(), and operator==().

Here is the caller graph for this function:

size_t Moses::VWState::GetSpanStart (  )  const [inline]

Definition at line 37 of file VWState.h.

Referenced by Moses::operator<<(), and operator==().

Here is the caller graph for this function:

virtual size_t Moses::VWState::hash (  )  const [inline, virtual]

Implements Moses::FFState.

Definition at line 29 of file VWState.h.

Referenced by Moses::VW::EvaluateWhenApplied().

Here is the caller graph for this function:

bool Moses::VWState::operator== ( const FFState o  )  const [virtual]

Implements Moses::FFState.

Definition at line 53 of file VWState.cpp.

References GetPhrase(), GetSpanEnd(), and GetSpanStart().

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:15 2017 for Moses by  doxygen 1.5.9