Moses::NonTermContextProperty::ProbStore Class Reference

#include <NonTermContextProperty.h>

List of all members.

Public Member Functions

 ProbStore ()
float GetProb (size_t contextInd, const Factor *factor, float smoothConstant) const
float GetSize (size_t index) const
void AddToMap (size_t index, const Factor *factor, float count)

Detailed Description

Definition at line 36 of file NonTermContextProperty.h.

Constructor & Destructor Documentation

Moses::NonTermContextProperty::ProbStore::ProbStore (  )  [inline]

Definition at line 50 of file NonTermContextProperty.h.

Member Function Documentation

void Moses::NonTermContextProperty::ProbStore::AddToMap ( size_t  index,
const Factor factor,
float  count 

Definition at line 84 of file NonTermContextProperty.cpp.

Referenced by Moses::NonTermContextProperty::AddToMap().

Here is the caller graph for this function:

float Moses::NonTermContextProperty::ProbStore::GetProb ( size_t  contextInd,
const Factor factor,
float  smoothConstant 
) const

Definition at line 100 of file NonTermContextProperty.cpp.

References count.

float Moses::NonTermContextProperty::ProbStore::GetSize ( size_t  index  )  const [inline]

Definition at line 59 of file NonTermContextProperty.h.

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

Generated on Thu Jul 6 00:33:29 2017 for Moses by  doxygen 1.5.9