FST  openfst-1.8.3
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 W1 = TropicalWeight
 
using W2 = LogWeightTpl< T >
 

Public Member Functions

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

Detailed Description

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

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

Member Typedef Documentation

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

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

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

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

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

Definition at line 342 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 346 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 349 of file signed-log-weight.h.

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

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

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

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


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