FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::ToPowerWeightMapper< FromWeight_, ToPowerWeight > Class Template Reference

#include <power-weight-mappers.h>

Public Types

using FromWeight = FromWeight_
 
using ToWeight = ToPowerWeight
 
using Index = typename ToPowerWeight::Index
 

Public Member Functions

 ToPowerWeightMapper (Index index=0)
 
ToPowerWeight operator() (const FromWeight &w) const
 

Detailed Description

template<class FromWeight_, class ToPowerWeight>
class fst::ToPowerWeightMapper< FromWeight_, ToPowerWeight >

Definition at line 28 of file power-weight-mappers.h.

Member Typedef Documentation

template<class FromWeight_ , class ToPowerWeight >
using fst::ToPowerWeightMapper< FromWeight_, ToPowerWeight >::FromWeight = FromWeight_

Definition at line 30 of file power-weight-mappers.h.

template<class FromWeight_ , class ToPowerWeight >
using fst::ToPowerWeightMapper< FromWeight_, ToPowerWeight >::Index = typename ToPowerWeight::Index

Definition at line 32 of file power-weight-mappers.h.

template<class FromWeight_ , class ToPowerWeight >
using fst::ToPowerWeightMapper< FromWeight_, ToPowerWeight >::ToWeight = ToPowerWeight

Definition at line 31 of file power-weight-mappers.h.

Constructor & Destructor Documentation

template<class FromWeight_ , class ToPowerWeight >
fst::ToPowerWeightMapper< FromWeight_, ToPowerWeight >::ToPowerWeightMapper ( Index  index = 0)
inlineexplicit

Definition at line 34 of file power-weight-mappers.h.

Member Function Documentation

template<class FromWeight_ , class ToPowerWeight >
ToPowerWeight fst::ToPowerWeightMapper< FromWeight_, ToPowerWeight >::operator() ( const FromWeight w) const
inline

Definition at line 36 of file power-weight-mappers.h.


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