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

Specialized implementation of MakeWeight2 for lexicographic semiring over two tropical weights. Second weight is set to the same input weight. More...

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

Public Member Functions

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

Detailed Description

template<>
struct fst::MakeWeight2< LexStdArc >

Specialized implementation of MakeWeight2 for lexicographic semiring over two tropical weights. Second weight is set to the same input weight.

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

Member Function Documentation

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

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

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

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

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

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

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

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


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