FST  openfst-1.7.7
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 () const
 
void Reset (Weight w=Weight::Zero())
 

Detailed Description

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

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

Member Typedef Documentation

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

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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

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

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

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

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


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