FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::Adder< ExpectationWeight< W1, W2 > > Class Template Reference

#include <expectation-weight.h>

Public Types

using Weight = ExpectationWeight< W1, W2 >
 

Public Member Functions

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

Detailed Description

template<class W1, class W2>
class fst::Adder< ExpectationWeight< W1, W2 > >

Definition at line 182 of file expectation-weight.h.

Member Typedef Documentation

template<class W1 , class W2 >
using fst::Adder< ExpectationWeight< W1, W2 > >::Weight = ExpectationWeight<W1, W2>

Definition at line 184 of file expectation-weight.h.

Constructor & Destructor Documentation

template<class W1 , class W2 >
fst::Adder< ExpectationWeight< W1, W2 > >::Adder ( )
default
template<class W1 , class W2 >
fst::Adder< ExpectationWeight< W1, W2 > >::Adder ( Weight  w)
inlineexplicit

Definition at line 188 of file expectation-weight.h.

Member Function Documentation

template<class W1 , class W2 >
Weight fst::Adder< ExpectationWeight< W1, W2 > >::Add ( const Weight w)
inline

Definition at line 190 of file expectation-weight.h.

template<class W1 , class W2 >
void fst::Adder< ExpectationWeight< W1, W2 > >::Reset ( Weight  w = Weight::Zero())
inline

Definition at line 198 of file expectation-weight.h.

template<class W1 , class W2 >
Weight fst::Adder< ExpectationWeight< W1, W2 > >::Sum ( ) const
inline

Definition at line 196 of file expectation-weight.h.


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