FST  openfst-1.7.9
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 124 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 126 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 130 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 132 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 140 of file expectation-weight.h.

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

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


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