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 |
Definition at line 16 of file DistortionScoreProducer.cpp.
Moses::DistortionState::DistortionState | ( | const Range & | wr, | |
int | fg, | |||
bool | subord = false | |||
) | [inline] |
Definition at line 20 of file DistortionScoreProducer.cpp.
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.
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.
Definition at line 18 of file DistortionScoreProducer.cpp.
Referenced by Moses::DistortionScoreProducer::EvaluateWhenApplied().
Definition at line 19 of file DistortionScoreProducer.cpp.
Referenced by Moses::DistortionScoreProducer::EvaluateWhenApplied(), and operator==().
Definition at line 17 of file DistortionScoreProducer.cpp.
Referenced by Moses::DistortionScoreProducer::EvaluateWhenApplied(), hash(), and operator==().