FST  openfst-1.8.2
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 ()
 
 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 109 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 111 of file product-weight.h.

Constructor & Destructor Documentation

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

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

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

Definition at line 115 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 117 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 125 of file product-weight.h.

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

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


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