lm::base::Model Class Reference

#include <virtual_interface.hh>

Inheritance diagram for lm::base::Model:

Inheritance graph
[legend]
Collaboration diagram for lm::base::Model:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~Model ()
size_t StateSize () const
const void * BeginSentenceMemory () const
const void * NullContextMemory () const
virtual float Score (const void *in_state, const WordIndex new_word, void *out_state) const =0
virtual FullScoreReturn FullScore (const void *in_state, const WordIndex new_word, void *out_state) const =0
unsigned char Order () const
const VocabularyBaseVocabulary () const

Friends

class ModelFacade


Detailed Description

Definition at line 116 of file virtual_interface.hh.


Constructor & Destructor Documentation

Model::~Model (  )  [virtual]

Definition at line 16 of file virtual_interface.cc.


Member Function Documentation

const Vocabulary& lm::base::Model::BaseVocabulary (  )  const [inline]

Definition at line 132 of file virtual_interface.hh.

Referenced by lm::base::ModelFacade< GenericModel< Search, VocabularyT >, State, VocabularyT >::GetVocabulary().

Here is the caller graph for this function:

const void* lm::base::Model::BeginSentenceMemory (  )  const [inline]

Definition at line 121 of file virtual_interface.hh.

virtual FullScoreReturn lm::base::Model::FullScore ( const void *  in_state,
const WordIndex  new_word,
void *  out_state 
) const [pure virtual]

const void* lm::base::Model::NullContextMemory (  )  const [inline]

Definition at line 122 of file virtual_interface.hh.

unsigned char lm::base::Model::Order (  )  const [inline]

virtual float lm::base::Model::Score ( const void *  in_state,
const WordIndex  new_word,
void *  out_state 
) const [pure virtual]

size_t lm::base::Model::StateSize (  )  const [inline]

Definition at line 120 of file virtual_interface.hh.


Friends And Related Function Documentation

friend class ModelFacade [friend]

Definition at line 135 of file virtual_interface.hh.


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

Generated on Mon Sep 1 00:30:52 2014 for Moses by  doxygen 1.5.9