#include <osmHyp.h>
Public Member Functions | |
osmState (const lm::ngram::State &val) | |
virtual size_t | hash () const |
virtual bool | operator== (const FFState &other) const |
void | saveState (int jVal, int eVal, std::map< int, std::string > &gapVal) |
int | getJ () const |
int | getE () const |
std::map< int, std::string > | getGap () const |
lm::ngram::State | getLMState () const |
void | print () const |
std::string | getName () const |
Protected Attributes | |
int | j |
int | E |
std::map< int, std::string > | gap |
lm::ngram::State | lmState |
Definition at line 15 of file osmHyp.h.
Moses::osmState::osmState | ( | const lm::ngram::State & | val | ) |
std::map<int , std::string> Moses::osmState::getGap | ( | ) | const [inline] |
lm::ngram::State Moses::osmState::getLMState | ( | ) | const [inline] |
std::string Moses::osmState::getName | ( | ) | const |
Definition at line 51 of file osmHyp.cpp.
size_t Moses::osmState::hash | ( | ) | const [virtual] |
Implements Moses::FFState.
Definition at line 25 of file osmHyp.cpp.
References E, j, lm::ngram::State::length, and lmState.
bool Moses::osmState::operator== | ( | const FFState & | other | ) | const [virtual] |
Implements Moses::FFState.
Definition at line 36 of file osmHyp.cpp.
References E, gap, j, lm::ngram::State::length, and lmState.
void Moses::osmState::print | ( | ) | const |
void Moses::osmState::saveState | ( | int | jVal, | |
int | eVal, | |||
std::map< int, std::string > & | gapVal | |||
) |
int Moses::osmState::E [protected] |
std::map<int,std::string> Moses::osmState::gap [protected] |
int Moses::osmState::j [protected] |
lm::ngram::State Moses::osmState::lmState [protected] |