MosesTraining::MaybeLog Struct Reference

#include <ScoreFeature.h>

List of all members.

Public Member Functions

 MaybeLog (bool useLog, float negativeLog)
float operator() (float a) const

Public Attributes

float m_useLog
float m_negativeLog

Detailed Description

Definition at line 43 of file ScoreFeature.h.

Constructor & Destructor Documentation

MosesTraining::MaybeLog::MaybeLog ( bool  useLog,
float  negativeLog 
) [inline]

Definition at line 44 of file ScoreFeature.h.

Member Function Documentation

float MosesTraining::MaybeLog::operator() ( float  a  )  const [inline]

Definition at line 47 of file ScoreFeature.h.

References m_negativeLog, and m_useLog.

Member Data Documentation

Definition at line 52 of file ScoreFeature.h.

Referenced by operator()().

Definition at line 51 of file ScoreFeature.h.

Referenced by operator()().

The documentation for this struct was generated from the following file:

Generated on Thu Jul 6 00:34:08 2017 for Moses by  doxygen 1.5.9