normcache Class Reference

#include <normcache.h>

Collaboration diagram for normcache:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 normcache (dictionary *d)
 ~normcache ()
void expand (int i)
double get (ngram ng, int size, double &value)
double put (ngram ng, int size, double value)
void stat ()


Detailed Description

Definition at line 29 of file normcache.h.


Constructor & Destructor Documentation

normcache::normcache ( dictionary d  ) 

Definition at line 33 of file normcache.cpp.

References LEAFPROB, NULL, and dictionary::size().

Here is the call graph for this function:

normcache::~normcache (  )  [inline]

Definition at line 41 of file normcache.h.


Member Function Documentation

void normcache::expand ( int  i  ) 

Definition at line 54 of file normcache.cpp.

Referenced by put().

Here is the caller graph for this function:

double normcache::get ( ngram  ng,
int  size,
double &  value 
)

Definition at line 69 of file normcache.cpp.

References ngram::freq, ngramtable::get(), and ngram::wordp().

Here is the call graph for this function:

double normcache::put ( ngram  ng,
int  size,
double  value 
)

Definition at line 90 of file normcache.cpp.

References expand(), ngram::freq, ngramtable::get(), ngramtable::put(), and ngram::wordp().

Referenced by mdiadaptlm::zeta().

Here is the call graph for this function:

Here is the caller graph for this function:

void normcache::stat (  ) 

Definition at line 114 of file normcache.cpp.


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

Generated on Thu Jul 6 00:31:56 2017 for Moses by  doxygen 1.5.9