Moses::DistortionState Struct Reference

Inheritance diagram for Moses::DistortionState:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DistortionState (const Range &wr, int fg, bool subord=false)
size_t hash () const
virtual bool operator== (const FFState &other) const

Public Attributes

Range range
int first_gap
bool inSubordinateConjunction


Detailed Description

Definition at line 16 of file DistortionScoreProducer.cpp.


Constructor & Destructor Documentation

Moses::DistortionState::DistortionState ( const Range wr,
int  fg,
bool  subord = false 
) [inline]

Definition at line 20 of file DistortionScoreProducer.cpp.


Member Function Documentation

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

Implements Moses::FFState.

Definition at line 22 of file DistortionScoreProducer.cpp.

References Moses::Range::GetEndPos(), and range.

Here is the call graph for this function:

virtual bool Moses::DistortionState::operator== ( const FFState other  )  const [inline, virtual]

Implements Moses::FFState.

Definition at line 25 of file DistortionScoreProducer.cpp.

References Moses::Range::GetEndPos(), inSubordinateConjunction, and range.

Here is the call graph for this function:


Member Data Documentation


The documentation for this struct was generated from the following file:

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