#include <virtual_interface.hh>


Public Member Functions | |
| virtual | ~Model () |
| size_t | StateSize () const |
| const void * | BeginSentenceMemory () const |
| void | BeginSentenceWrite (void *to) const |
| const void * | NullContextMemory () const |
| void | NullContextWrite (void *to) const |
| virtual float | BaseScore (const void *in_state, const WordIndex new_word, void *out_state) const =0 |
| virtual FullScoreReturn | BaseFullScore (const void *in_state, const WordIndex new_word, void *out_state) const =0 |
| virtual FullScoreReturn | BaseFullScoreForgotState (const WordIndex *context_rbegin, const WordIndex *context_rend, const WordIndex new_word, void *out_state) const =0 |
| unsigned char | Order () const |
| const Vocabulary & | BaseVocabulary () const |
Friends | |
| class | ModelFacade |
Definition at line 117 of file virtual_interface.hh.
| Model::~Model | ( | ) | [virtual] |
| virtual FullScoreReturn lm::base::Model::BaseFullScore | ( | const void * | in_state, | |
| const WordIndex | new_word, | |||
| void * | out_state | |||
| ) | const [pure virtual] |
| virtual FullScoreReturn lm::base::Model::BaseFullScoreForgotState | ( | const WordIndex * | context_rbegin, | |
| const WordIndex * | context_rend, | |||
| const WordIndex | new_word, | |||
| void * | out_state | |||
| ) | const [pure virtual] |
| virtual float lm::base::Model::BaseScore | ( | const void * | in_state, | |
| const WordIndex | new_word, | |||
| void * | out_state | |||
| ) | const [pure virtual] |
| const Vocabulary& lm::base::Model::BaseVocabulary | ( | ) | const [inline] |
Definition at line 138 of file virtual_interface.hh.
Referenced by lm::base::ModelFacade< Model, State, Vocabulary >::GetVocabulary().

| const void* lm::base::Model::BeginSentenceMemory | ( | ) | const [inline] |
Definition at line 122 of file virtual_interface.hh.
| void lm::base::Model::BeginSentenceWrite | ( | void * | to | ) | const [inline] |
Definition at line 123 of file virtual_interface.hh.
References StateSize().

| const void* lm::base::Model::NullContextMemory | ( | ) | const [inline] |
Definition at line 124 of file virtual_interface.hh.
| void lm::base::Model::NullContextWrite | ( | void * | to | ) | const [inline] |
Definition at line 125 of file virtual_interface.hh.
References StateSize().

| unsigned char lm::base::Model::Order | ( | ) | const [inline] |
Definition at line 136 of file virtual_interface.hh.
Referenced by lm::np::Model::FullScoreForgotState(), lm::ngram::detail::GenericModel< Search, VocabularyT >::FullScoreForgotState(), and lm::ngram::detail::GenericModel< Search, VocabularyT >::GetState().

| size_t lm::base::Model::StateSize | ( | ) | const [inline] |
Definition at line 121 of file virtual_interface.hh.
Referenced by BeginSentenceWrite(), and NullContextWrite().

friend class ModelFacade [friend] |
Definition at line 141 of file virtual_interface.hh.
1.5.9