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

#include <weight.h>

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

Definition at line 212 of file weight.h.

Constructor & Destructor Documentation

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

Definition at line 214 of file weight.h.

Member Function Documentation

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

Definition at line 216 of file weight.h.

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

Definition at line 223 of file weight.h.

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

Definition at line 221 of file weight.h.


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