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

#include <product-weight.h>

Public Types

using Weight = ProductWeight< 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< ProductWeight< W1, W2 > >

Definition at line 107 of file product-weight.h.

Member Typedef Documentation

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

Definition at line 109 of file product-weight.h.

Constructor & Destructor Documentation

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

Definition at line 113 of file product-weight.h.

Member Function Documentation

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

Definition at line 115 of file product-weight.h.

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

Definition at line 123 of file product-weight.h.

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

Definition at line 121 of file product-weight.h.


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