Cambridge SMT System
fst::MakeWeight< Arc > Struct Template Reference

Templated functor that creates a weight given a float. More...

#include <lexicographic-tropical-tropical-funcs.h>

Public Member Functions

Arc::Weight operator() (const float weight) const
 
Arc::Weight operator() (const typename Arc::Weight &weight) const
 
void update ()
 

Detailed Description

template<class Arc>
struct fst::MakeWeight< Arc >

Templated functor that creates a weight given a float.

Definition at line 47 of file lexicographic-tropical-tropical-funcs.h.

Member Function Documentation

template<class Arc>
Arc::Weight fst::MakeWeight< Arc >::operator() ( const float  weight) const
inline

Definition at line 48 of file lexicographic-tropical-tropical-funcs.h.

template<class Arc>
Arc::Weight fst::MakeWeight< Arc >::operator() ( const typename Arc::Weight &  weight) const
inline

Definition at line 51 of file lexicographic-tropical-tropical-funcs.h.

template<class Arc>
void fst::MakeWeight< Arc >::update ( )
inline

Definition at line 55 of file lexicographic-tropical-tropical-funcs.h.

Here is the caller graph for this function:


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