FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::Adder< RealWeightTpl< T > > Class Template Reference

#include <float-weight.h>

Public Types

using Weight = RealWeightTpl< T >
 

Public Member Functions

 Adder (Weight w=Weight::Zero())
 
Weight Add (const Weight &w)
 
Weight Sum () const
 
void Reset (Weight w=Weight::Zero())
 

Detailed Description

template<class T>
class fst::Adder< RealWeightTpl< T > >

Definition at line 833 of file float-weight.h.

Member Typedef Documentation

template<class T >
using fst::Adder< RealWeightTpl< T > >::Weight = RealWeightTpl<T>

Definition at line 835 of file float-weight.h.

Constructor & Destructor Documentation

template<class T >
fst::Adder< RealWeightTpl< T > >::Adder ( Weight  w = Weight::Zero())
inlineexplicit

Definition at line 837 of file float-weight.h.

Member Function Documentation

template<class T >
Weight fst::Adder< RealWeightTpl< T > >::Add ( const Weight w)
inline

Definition at line 839 of file float-weight.h.

template<class T >
void fst::Adder< RealWeightTpl< T > >::Reset ( Weight  w = Weight::Zero())
inline

Definition at line 854 of file float-weight.h.

template<class T >
Weight fst::Adder< RealWeightTpl< T > >::Sum ( ) const
inline

Definition at line 852 of file float-weight.h.


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