Moses::NGramNode Class Reference

#include <NGramNode.h>

Collaboration diagram for Moses::NGramNode:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 NGramNode ()
 ~NGramNode ()
NGramCollectionGetNGramColl ()
const NGramNodeGetNGram (const Factor *factor) const
NGramNodeGetNGram (const Factor *factor)
const NGramNodeGetRootNGram () const
void SetRootNGram (NGramNode *rootNGram)
float GetScore () const
float GetLogBackOff () const
void SetScore (float score)
void SetLogBackOff (float logBackOff)

Protected Attributes

float m_score
float m_logBackOff
NGramCollectionm_map
NGramNodem_rootNGram


Detailed Description

Definition at line 32 of file NGramNode.h.


Constructor & Destructor Documentation

Moses::NGramNode::NGramNode (  ) 

Definition at line 8 of file NGramNode.cpp.

References m_map.

Moses::NGramNode::~NGramNode (  ) 

Definition at line 12 of file NGramNode.cpp.

References m_map.


Member Function Documentation

float Moses::NGramNode::GetLogBackOff (  )  const [inline]

Definition at line 58 of file NGramNode.h.

References m_logBackOff.

NGramNode * Moses::NGramNode::GetNGram ( const Factor factor  ) 

Definition at line 21 of file NGramNode.cpp.

References Moses::NGramCollection::GetNGram(), and m_map.

Here is the call graph for this function:

const NGramNode * Moses::NGramNode::GetNGram ( const Factor factor  )  const

Definition at line 17 of file NGramNode.cpp.

References Moses::NGramCollection::GetNGram(), and m_map.

Here is the call graph for this function:

NGramCollection* Moses::NGramNode::GetNGramColl (  )  [inline]

Definition at line 41 of file NGramNode.h.

References m_map.

const NGramNode* Moses::NGramNode::GetRootNGram (  )  const [inline]

Definition at line 48 of file NGramNode.h.

References m_rootNGram.

float Moses::NGramNode::GetScore (  )  const [inline]

Definition at line 55 of file NGramNode.h.

References m_score.

void Moses::NGramNode::SetLogBackOff ( float  logBackOff  )  [inline]

Definition at line 64 of file NGramNode.h.

References m_logBackOff.

void Moses::NGramNode::SetRootNGram ( NGramNode rootNGram  )  [inline]

Definition at line 51 of file NGramNode.h.

References m_rootNGram.

void Moses::NGramNode::SetScore ( float  score  )  [inline]

Definition at line 61 of file NGramNode.h.

References m_score.


Member Data Documentation

float Moses::NGramNode::m_logBackOff [protected]

Definition at line 35 of file NGramNode.h.

Referenced by GetLogBackOff(), and SetLogBackOff().

Definition at line 36 of file NGramNode.h.

Referenced by GetNGram(), GetNGramColl(), NGramNode(), and ~NGramNode().

Definition at line 37 of file NGramNode.h.

Referenced by GetRootNGram(), and SetRootNGram().

float Moses::NGramNode::m_score [protected]

Definition at line 35 of file NGramNode.h.

Referenced by GetScore(), and SetScore().


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

Generated on Thu Oct 13 16:05:33 2011 for Moses by  doxygen 1.5.9