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

#include <float-weight.h>

Public Types

using Weight = LogWeightTpl< T >
 

Public Member Functions

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

Detailed Description

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

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

Member Typedef Documentation

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

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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

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

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

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

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


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