lm::ngram::MaxRestBuild Class Reference

#include <value_build.hh>

List of all members.

Public Types

typedef RestValue Value

Public Member Functions

 MaxRestBuild ()
void SetRest (const WordIndex *, unsigned int, const Prob &) const
void SetRest (const WordIndex *, unsigned int, RestWeights &weights) const
bool MarkExtends (RestWeights &weights, const RestWeights &to) const
bool MarkExtends (RestWeights &weights, const Prob &to) const

Static Public Attributes

static const bool kMarkEvenLower = true


Detailed Description

Definition at line 35 of file value_build.hh.


Member Typedef Documentation

Definition at line 37 of file value_build.hh.


Constructor & Destructor Documentation

lm::ngram::MaxRestBuild::MaxRestBuild (  )  [inline]

Definition at line 39 of file value_build.hh.


Member Function Documentation

bool lm::ngram::MaxRestBuild::MarkExtends ( RestWeights weights,
const Prob to 
) const [inline]

Definition at line 53 of file value_build.hh.

References lm::Prob::prob, lm::RestWeights::prob, lm::RestWeights::rest, and util::UnsetSign().

Here is the call graph for this function:

bool lm::ngram::MaxRestBuild::MarkExtends ( RestWeights weights,
const RestWeights to 
) const [inline]

Definition at line 47 of file value_build.hh.

References lm::RestWeights::prob, lm::RestWeights::rest, and util::UnsetSign().

Here is the call graph for this function:

void lm::ngram::MaxRestBuild::SetRest ( const WordIndex ,
unsigned  int,
RestWeights weights 
) const [inline]

Definition at line 42 of file value_build.hh.

References lm::RestWeights::prob, lm::RestWeights::rest, and util::SetSign().

Here is the call graph for this function:

void lm::ngram::MaxRestBuild::SetRest ( const WordIndex ,
unsigned  int,
const Prob  
) const [inline]

Definition at line 41 of file value_build.hh.


Member Data Documentation

const bool lm::ngram::MaxRestBuild::kMarkEvenLower = true [static]

Definition at line 61 of file value_build.hh.


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

Generated on Thu Jul 6 00:32:45 2017 for Moses by  doxygen 1.5.9