lm::ngram::State Class Reference

#include <state.hh>

List of all members.

Public Member Functions

bool operator== (const State &other) const
int Compare (const State &other) const
bool operator< (const State &other) const
void ZeroRemaining ()
unsigned char Length () const

Public Attributes

WordIndex words [KENLM_MAX_ORDER-1]
float backoff [KENLM_MAX_ORDER-1]
unsigned char length


Detailed Description

Definition at line 15 of file state.hh.


Member Function Documentation

int lm::ngram::State::Compare ( const State other  )  const [inline]

Definition at line 23 of file state.hh.

References length, and words.

Referenced by lm::ngram::ChartState::Compare().

Here is the caller graph for this function:

unsigned char lm::ngram::State::Length (  )  const [inline]

Definition at line 41 of file state.hh.

References length.

bool lm::ngram::State::operator< ( const State other  )  const [inline]

Definition at line 28 of file state.hh.

References length, and words.

bool lm::ngram::State::operator== ( const State other  )  const [inline]

Definition at line 17 of file state.hh.

References length, and words.

void lm::ngram::State::ZeroRemaining (  )  [inline]

Definition at line 34 of file state.hh.

References backoff, length, and words.

Referenced by lm::ngram::ChartState::ZeroRemaining().

Here is the caller graph for this function:


Member Data Documentation

float lm::ngram::State::backoff[KENLM_MAX_ORDER-1]

unsigned char lm::ngram::State::length

WordIndex lm::ngram::State::words[KENLM_MAX_ORDER-1]


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

Generated on Sun Nov 23 00:31:38 2014 for Moses by  doxygen 1.5.9