Cambridge SMT System
fst::VectorToStd< T > Struct Template Reference

Functor to convert sparse tuple weight to tropical (single weight) More...

#include <tropical-sparse-tuple-weight.h>

Public Member Functions

 VectorToStd (int32_t k=1)
 
TropicalWeightTpl< T > operator() (const TropicalSparseTupleWeight< T > &w) const
 
 VectorToStd (int32_t k)
 
TropicalWeightTpl< T > operator() (const TropicalSparseTupleWeight< T > &w) const
 

Detailed Description

template<typename T>
struct fst::VectorToStd< T >

Functor to convert sparse tuple weight to tropical (single weight)

Definition at line 242 of file fsttools/include/tropical-sparse-tuple-weight.h.

Constructor & Destructor Documentation

template<typename T>
fst::VectorToStd< T >::VectorToStd ( int32_t  k = 1)
inline
template<typename T>
fst::VectorToStd< T >::VectorToStd ( int32_t  k)
inline

Member Function Documentation

template<typename T>
TropicalWeightTpl<T> fst::VectorToStd< T >::operator() ( const TropicalSparseTupleWeight< T > &  w) const
inline
template<typename T>
TropicalWeightTpl<T> fst::VectorToStd< T >::operator() ( const TropicalSparseTupleWeight< T > &  w) const
inline

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