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

Specialized implementation of MakeWeight for lexicographic semiring over two tropical weights. Second weight is set to One(). More...

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

Public Member Functions

LexStdWeight operator() (const float weight)
 
LexStdWeight operator() (const StdArc::Weight &weight)
 
LexStdWeight operator() (const LexStdWeight &weight)
 
void update ()
 

Detailed Description

template<>
struct fst::MakeWeight< LexStdArc >

Specialized implementation of MakeWeight for lexicographic semiring over two tropical weights. Second weight is set to One().

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

Member Function Documentation

LexStdWeight fst::MakeWeight< LexStdArc >::operator() ( const float  weight)
inline

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

LexStdWeight fst::MakeWeight< LexStdArc >::operator() ( const StdArc::Weight &  weight)
inline

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

LexStdWeight fst::MakeWeight< LexStdArc >::operator() ( const LexStdWeight weight)
inline

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

void fst::MakeWeight< LexStdArc >::update ( )
inline

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


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