#include <value_build.hh>
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 |
Definition at line 35 of file value_build.hh.
Definition at line 37 of file value_build.hh.
lm::ngram::MaxRestBuild::MaxRestBuild | ( | ) | [inline] |
Definition at line 39 of file value_build.hh.
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().
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().
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().
void lm::ngram::MaxRestBuild::SetRest | ( | const WordIndex * | , | |
unsigned | int, | |||
const Prob & | ||||
) | const [inline] |
Definition at line 41 of file value_build.hh.
const bool lm::ngram::MaxRestBuild::kMarkEvenLower = true [static] |
Definition at line 61 of file value_build.hh.