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

Map functor used with generic weight mapper. More...

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

Public Member Functions

 DotProductMap (const std::vector< T > &param)
 
TropicalWeightTpl< T > operator() (const TropicalSparseTupleWeight< T > &w) const
 
 DotProductMap (const std::vector< T > &param)
 
TropicalWeightTpl< T > operator() (const TropicalSparseTupleWeight< T > &w) const
 

Detailed Description

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

Map functor used with generic weight mapper.

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

Constructor & Destructor Documentation

template<typename T>
fst::DotProductMap< T >::DotProductMap ( const std::vector< T > &  param)
inline
template<typename T>
fst::DotProductMap< T >::DotProductMap ( const std::vector< T > &  param)
inline

Member Function Documentation

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

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

Here is the call graph for this function:

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

Definition at line 254 of file latmert/include/tropical-sparse-tuple-weight.h.

Here is the call graph for this function:


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