FST  openfst-1.7.1
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::Adder< SignedLogWeightTpl< T > > Class Template Reference

#include <signed-log-weight.h>

Public Types

using Weight = SignedLogWeightTpl< T >
 
using X1 = TropicalWeight
 
using X2 = LogWeightTpl< T >
 

Public Member Functions

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

Detailed Description

template<class T>
class fst::Adder< SignedLogWeightTpl< T > >

Definition at line 225 of file signed-log-weight.h.

Member Typedef Documentation

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

Definition at line 227 of file signed-log-weight.h.

template<class T >
using fst::Adder< SignedLogWeightTpl< T > >::X1 = TropicalWeight

Definition at line 228 of file signed-log-weight.h.

template<class T >
using fst::Adder< SignedLogWeightTpl< T > >::X2 = LogWeightTpl<T>

Definition at line 229 of file signed-log-weight.h.

Constructor & Destructor Documentation

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

Definition at line 231 of file signed-log-weight.h.

Member Function Documentation

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

Definition at line 236 of file signed-log-weight.h.

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

Definition at line 274 of file signed-log-weight.h.

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

Definition at line 272 of file signed-log-weight.h.


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