FST  openfst-1.6.9
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::WeightConvertMapper< A, B, C > Class Template Reference

#include <arc-map.h>

Public Types

using FromArc = A
 
using ToArc = B
 
using Converter = C
 
using FromWeight = typename FromArc::Weight
 
using ToWeight = typename ToArc::Weight
 

Public Member Functions

 WeightConvertMapper (const Converter &c=Converter())
 
ToArc operator() (const FromArc &arc) const
 
constexpr MapFinalAction FinalAction () const
 
constexpr MapSymbolsAction InputSymbolsAction () const
 
constexpr MapSymbolsAction OutputSymbolsAction () const
 
uint64 Properties (uint64 props) const
 

Detailed Description

template<class A, class B, class C = WeightConvert<typename A::Weight, typename B::Weight>>
class fst::WeightConvertMapper< A, B, C >

Definition at line 768 of file arc-map.h.

Member Typedef Documentation

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
using fst::WeightConvertMapper< A, B, C >::Converter = C

Definition at line 772 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
using fst::WeightConvertMapper< A, B, C >::FromArc = A

Definition at line 770 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
using fst::WeightConvertMapper< A, B, C >::FromWeight = typename FromArc::Weight

Definition at line 773 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
using fst::WeightConvertMapper< A, B, C >::ToArc = B

Definition at line 771 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
using fst::WeightConvertMapper< A, B, C >::ToWeight = typename ToArc::Weight

Definition at line 774 of file arc-map.h.

Constructor & Destructor Documentation

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
fst::WeightConvertMapper< A, B, C >::WeightConvertMapper ( const Converter c = Converter())
inlineexplicit

Definition at line 776 of file arc-map.h.

Member Function Documentation

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
constexpr MapFinalAction fst::WeightConvertMapper< A, B, C >::FinalAction ( ) const
inline

Definition at line 784 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
constexpr MapSymbolsAction fst::WeightConvertMapper< A, B, C >::InputSymbolsAction ( ) const
inline

Definition at line 786 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
ToArc fst::WeightConvertMapper< A, B, C >::operator() ( const FromArc arc) const
inline

Definition at line 779 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
constexpr MapSymbolsAction fst::WeightConvertMapper< A, B, C >::OutputSymbolsAction ( ) const
inline

Definition at line 790 of file arc-map.h.

template<class A , class B , class C = WeightConvert<typename A::Weight, typename B::Weight>>
uint64 fst::WeightConvertMapper< A, B, C >::Properties ( uint64  props) const
inline

Definition at line 794 of file arc-map.h.


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