lm::ngram::trie::BitPackedLongest Class Reference

#include <trie.hh>

Inheritance diagram for lm::ngram::trie::BitPackedLongest:

Inheritance graph
[legend]
Collaboration diagram for lm::ngram::trie::BitPackedLongest:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BitPackedLongest ()
void Init (void *base, uint8_t quant_bits, uint64_t max_vocab)
void LoadedBinary ()
util::BitAddress Insert (WordIndex word)
util::BitAddress Find (WordIndex word, const NodeRange &node) const

Static Public Member Functions

static uint64_t Size (uint8_t quant_bits, uint64_t entries, uint64_t max_vocab)


Detailed Description

Definition at line 129 of file trie.hh.


Constructor & Destructor Documentation

lm::ngram::trie::BitPackedLongest::BitPackedLongest (  )  [inline]

Definition at line 135 of file trie.hh.


Member Function Documentation

util::BitAddress lm::ngram::trie::BitPackedLongest::Find ( WordIndex  word,
const NodeRange node 
) const

void lm::ngram::trie::BitPackedLongest::Init ( void *  base,
uint8_t  quant_bits,
uint64_t  max_vocab 
) [inline]

Definition at line 137 of file trie.hh.

References lm::ngram::trie::BitPacked::BaseInit().

Referenced by lm::ngram::trie::TrieSearch< Quant, Bhiksha >::SetupMemory().

Here is the call graph for this function:

Here is the caller graph for this function:

util::BitAddress lm::ngram::trie::BitPackedLongest::Insert ( WordIndex  word  ) 

void lm::ngram::trie::BitPackedLongest::LoadedBinary (  )  [inline]

Definition at line 141 of file trie.hh.

Referenced by lm::ngram::trie::TrieSearch< Quant, Bhiksha >::LoadedBinary().

Here is the caller graph for this function:

static uint64_t lm::ngram::trie::BitPackedLongest::Size ( uint8_t  quant_bits,
uint64_t  entries,
uint64_t  max_vocab 
) [inline, static]

Definition at line 131 of file trie.hh.

References lm::ngram::trie::BitPacked::BaseSize().

Referenced by lm::ngram::trie::TrieSearch< Quant, Bhiksha >::SetupMemory(), and lm::ngram::trie::TrieSearch< Quant, Bhiksha >::Size().

Here is the call graph for this function:

Here is the caller graph for this function:


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

Generated on Sun Oct 26 00:31:00 2014 for Moses by  doxygen 1.5.9