Cambridge SMT System
|
Function object that applies to every single weight a scaling factor. More...
#include <lexicographic-tropical-tropical-funcs.h>
Public Member Functions | |
ScaleWeight (float scale) | |
Arc::Weight | operator() (const float weight) const |
Arc::Weight | operator() (const typename Arc::Weight &weight) const |
Public Attributes | |
float | scale_ |
Function object that applies to every single weight a scaling factor.
Definition at line 113 of file lexicographic-tropical-tropical-funcs.h.
|
inline |
Definition at line 114 of file lexicographic-tropical-tropical-funcs.h.
|
inline |
Definition at line 118 of file lexicographic-tropical-tropical-funcs.h.
|
inline |
Definition at line 121 of file lexicographic-tropical-tropical-funcs.h.
float fst::ScaleWeight< Arc >::scale_ |
Definition at line 124 of file lexicographic-tropical-tropical-funcs.h.