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

Functor that converts tropical to sparse tuple weight. More...

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

Public Member Functions

 StdToVector (int32_t k)
 
TropicalSparseTupleWeight< T > operator() (const TropicalWeightTpl< T > &w) const
 
 StdToVector (int32_t k)
 
TropicalSparseTupleWeight< T > operator() (const TropicalWeightTpl< T > &w) const
 

Detailed Description

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

Functor that converts tropical to sparse tuple weight.

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

Constructor & Destructor Documentation

template<typename T>
fst::StdToVector< T >::StdToVector ( int32_t  k)
inline
template<typename T>
fst::StdToVector< T >::StdToVector ( int32_t  k)
inline

Member Function Documentation

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

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