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

Member Typedef Documentation

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

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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

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

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

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

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


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