Moses::dsgState Class Reference

#include <dsgHyp.h>

Inheritance diagram for Moses::dsgState:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 dsgState (const lm::ngram::State &val)
virtual bool operator== (const FFState &other) const
void saveState (std::vector< std::string > bufferVal, std::vector< int > spanVal, float deltaValue)
std::vector< std::string > getBuffer () const
std::vector< int > getSpan () const
lm::ngram::State getLMState () const
float getDelta () const
void setDelta (double val1)
void print () const
std::string getName () const
virtual size_t hash () const

Protected Attributes

std::vector< std::string > buffer
std::vector< int > span
lm::ngram::State lmState
double delta


Detailed Description

Definition at line 17 of file dsgHyp.h.


Constructor & Destructor Documentation

Moses::dsgState::dsgState ( const lm::ngram::State val  ) 


Member Function Documentation

std::vector<std::string> Moses::dsgState::getBuffer (  )  const [inline]

Definition at line 25 of file dsgHyp.h.

References buffer.

float Moses::dsgState::getDelta (  )  const [inline]

Definition at line 37 of file dsgHyp.h.

References delta.

lm::ngram::State Moses::dsgState::getLMState (  )  const [inline]

Definition at line 33 of file dsgHyp.h.

References lmState.

std::string Moses::dsgState::getName (  )  const

Definition at line 52 of file dsgHyp.cpp.

std::vector<int> Moses::dsgState::getSpan (  )  const [inline]

Definition at line 29 of file dsgHyp.h.

References span.

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

Implements Moses::FFState.

Definition at line 28 of file dsgHyp.cpp.

References lmState.

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

Implements Moses::FFState.

Definition at line 41 of file dsgHyp.cpp.

References lmState.

void Moses::dsgState::print (  )  const

void Moses::dsgState::saveState ( std::vector< std::string >  bufferVal,
std::vector< int >  spanVal,
float  deltaValue 
)

Definition at line 20 of file dsgHyp.cpp.

References buffer, delta, and span.

Referenced by Moses::dsgHypothesis::saveState().

Here is the caller graph for this function:

void Moses::dsgState::setDelta ( double  val1  )  [inline]

Definition at line 41 of file dsgHyp.h.

References delta.


Member Data Documentation

std::vector<std::string> Moses::dsgState::buffer [protected]

Definition at line 52 of file dsgHyp.h.

Referenced by getBuffer(), and saveState().

double Moses::dsgState::delta [protected]

Definition at line 55 of file dsgHyp.h.

Referenced by getDelta(), saveState(), and setDelta().

Definition at line 54 of file dsgHyp.h.

Referenced by getLMState(), hash(), and operator==().

std::vector<int> Moses::dsgState::span [protected]

Definition at line 53 of file dsgHyp.h.

Referenced by getSpan(), and saveState().


The documentation for this class was generated from the following files:

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