FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::FromPowerWeightMapper< FromPowerWeight, ToWeight_ > Class Template Reference

#include <power-weight-mappers.h>

Public Types

using FromWeight = FromPowerWeight
 
using ToWeight = ToWeight_
 
using Index = typename FromPowerWeight::Index
 

Public Member Functions

 FromPowerWeightMapper (Index index=0)
 
ToWeight operator() (const FromPowerWeight &w) const
 

Detailed Description

template<class FromPowerWeight, class ToWeight_>
class fst::FromPowerWeightMapper< FromPowerWeight, ToWeight_ >

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

Member Typedef Documentation

template<class FromPowerWeight , class ToWeight_ >
using fst::FromPowerWeightMapper< FromPowerWeight, ToWeight_ >::FromWeight = FromPowerWeight

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

template<class FromPowerWeight , class ToWeight_ >
using fst::FromPowerWeightMapper< FromPowerWeight, ToWeight_ >::Index = typename FromPowerWeight::Index

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

template<class FromPowerWeight , class ToWeight_ >
using fst::FromPowerWeightMapper< FromPowerWeight, ToWeight_ >::ToWeight = ToWeight_

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

Constructor & Destructor Documentation

template<class FromPowerWeight , class ToWeight_ >
fst::FromPowerWeightMapper< FromPowerWeight, ToWeight_ >::FromPowerWeightMapper ( Index  index = 0)
inlineexplicit

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

Member Function Documentation

template<class FromPowerWeight , class ToWeight_ >
ToWeight fst::FromPowerWeightMapper< FromPowerWeight, ToWeight_ >::operator() ( const FromPowerWeight &  w) const
inline

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


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