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

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

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

Public Types

typedef Arc::Weight Weight
 

Public Member Functions

Weight operator() (float const weight) const
 
Weight operator() (Weight const &weight) const
 
void update ()
 

Detailed Description

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

Templated functor that creates a weight given a float.

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

Member Typedef Documentation

template<class Arc>
typedef Arc::Weight fst::MakeWeight2< Arc >::Weight

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

Member Function Documentation

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

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

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

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

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

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


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