FST  openfst-1.8.3
OpenFst Library
Public Member Functions | List of all members
fst::Adder< Weight > Class Template Reference

#include <weight.h>

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 Weight>
class fst::Adder< Weight >

Definition at line 213 of file weight.h.

Constructor & Destructor Documentation

template<class Weight>
fst::Adder< Weight >::Adder ( )
inline

Definition at line 215 of file weight.h.

template<class Weight>
fst::Adder< Weight >::Adder ( Weight  w)
inlineexplicit

Definition at line 217 of file weight.h.

Member Function Documentation

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

Definition at line 219 of file weight.h.

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

Definition at line 226 of file weight.h.

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

Definition at line 224 of file weight.h.


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