FST  openfst-1.7.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 212 of file weight.h.

Constructor & Destructor Documentation

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

Definition at line 214 of file weight.h.

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

Definition at line 216 of file weight.h.

Member Function Documentation

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

Definition at line 218 of file weight.h.

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

Definition at line 225 of file weight.h.

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

Definition at line 223 of file weight.h.


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