Cambridge SMT System
VectorToFunctionMapper< FromArc, T > Class Template Reference

#include <function-weight.h>

Public Types

typedef FunctionArc ToArc
 
typedef FromArc::Weight FW
 
typedef ToArc::Weight TW
 

Public Member Functions

 VectorToFunctionMapper (const std::vector< T > &direction, const std::vector< T > &initial)
 
ToArc operator() (const FromArc &arc) const
 
fst::MapSymbolsAction InputSymbolsAction () const
 
fst::MapSymbolsAction OutputSymbolsAction () const
 
fst::MapFinalAction FinalAction () const
 
uint Properties (uint props) const
 

Detailed Description

template<class FromArc, class T>
class VectorToFunctionMapper< FromArc, T >

Definition at line 225 of file function-weight.h.

Member Typedef Documentation

template<class FromArc , class T >
typedef FromArc::Weight VectorToFunctionMapper< FromArc, T >::FW

Definition at line 229 of file function-weight.h.

template<class FromArc , class T >
typedef FunctionArc VectorToFunctionMapper< FromArc, T >::ToArc

Definition at line 228 of file function-weight.h.

template<class FromArc , class T >
typedef ToArc::Weight VectorToFunctionMapper< FromArc, T >::TW

Definition at line 230 of file function-weight.h.

Constructor & Destructor Documentation

template<class FromArc , class T >
VectorToFunctionMapper< FromArc, T >::VectorToFunctionMapper ( const std::vector< T > &  direction,
const std::vector< T > &  initial 
)
inlineexplicit

Definition at line 231 of file function-weight.h.

Member Function Documentation

template<class FromArc , class T >
fst::MapFinalAction VectorToFunctionMapper< FromArc, T >::FinalAction ( ) const
inline

Definition at line 259 of file function-weight.h.

template<class FromArc , class T >
fst::MapSymbolsAction VectorToFunctionMapper< FromArc, T >::InputSymbolsAction ( ) const
inline

Definition at line 253 of file function-weight.h.

template<class FromArc , class T >
ToArc VectorToFunctionMapper< FromArc, T >::operator() ( const FromArc &  arc) const
inline

Definition at line 236 of file function-weight.h.

Here is the call graph for this function:

template<class FromArc , class T >
fst::MapSymbolsAction VectorToFunctionMapper< FromArc, T >::OutputSymbolsAction ( ) const
inline

Definition at line 256 of file function-weight.h.

template<class FromArc , class T >
uint VectorToFunctionMapper< FromArc, T >::Properties ( uint  props) const
inline

Definition at line 262 of file function-weight.h.


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