FST  openfst-1.8.4
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 630 of file float-weight.h.

Member Typedef Documentation

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

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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

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

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

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

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


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