lm::ngram::trie::DontBhiksha Class Reference

#include <bhiksha.hh>

Collaboration diagram for lm::ngram::trie::DontBhiksha:

Collaboration graph

List of all members.

Public Member Functions

 DontBhiksha (const void *base, uint64_t max_offset, uint64_t max_next, const Config &config)
void ReadNext (const void *base, uint64_t bit_offset, uint64_t, uint8_t total_bits, NodeRange &out) const
void WriteNext (void *base, uint64_t bit_offset, uint64_t, uint64_t value)
void FinishedLoading (const Config &)
uint8_t InlineBits () const

Static Public Member Functions

static void UpdateConfigFromBinary (const BinaryFormat &, uint64_t, Config &)
static uint64_t Size (uint64_t, uint64_t, const Config &)
static uint8_t InlineBits (uint64_t, uint64_t max_next, const Config &)

Static Public Attributes

static const ModelType kModelTypeAdd = static_cast<ModelType>(0)

Detailed Description

Definition at line 32 of file bhiksha.hh.

Constructor & Destructor Documentation

lm::ngram::trie::DontBhiksha::DontBhiksha ( const void *  base,
uint64_t  max_offset,
uint64_t  max_next,
const Config config 

Definition at line 14 of file bhiksha.cc.

Member Function Documentation

void lm::ngram::trie::DontBhiksha::FinishedLoading ( const Config  )  [inline]

Definition at line 56 of file bhiksha.hh.

uint8_t lm::ngram::trie::DontBhiksha::InlineBits (  )  const [inline]

Definition at line 58 of file bhiksha.hh.

References util::BitsMask::bits.

static uint8_t lm::ngram::trie::DontBhiksha::InlineBits ( uint64_t  ,
uint64_t  max_next,
const Config  
) [inline, static]

Definition at line 40 of file bhiksha.hh.

References util::RequiredBits().

Here is the call graph for this function:

void lm::ngram::trie::DontBhiksha::ReadNext ( const void *  base,
uint64_t  bit_offset,
uint64_t  ,
uint8_t  total_bits,
NodeRange out 
) const [inline]

Definition at line 46 of file bhiksha.hh.

References lm::ngram::trie::NodeRange::begin, util::BitsMask::bits, lm::ngram::trie::NodeRange::end, util::BitsMask::mask, and util::ReadInt57().

Here is the call graph for this function:

static uint64_t lm::ngram::trie::DontBhiksha::Size ( uint64_t  ,
uint64_t  ,
const Config  
) [inline, static]

Definition at line 38 of file bhiksha.hh.

static void lm::ngram::trie::DontBhiksha::UpdateConfigFromBinary ( const BinaryFormat ,
uint64_t  ,
) [inline, static]

Definition at line 36 of file bhiksha.hh.

void lm::ngram::trie::DontBhiksha::WriteNext ( void *  base,
uint64_t  bit_offset,
uint64_t  ,
uint64_t  value 
) [inline]

Definition at line 52 of file bhiksha.hh.

References util::BitsMask::bits, and util::WriteInt57().

Here is the call graph for this function:

Member Data Documentation

Definition at line 34 of file bhiksha.hh.

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

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