BaumWelch  baumwelch-0.3.8
OpenGrm-BaumWelch library
Classes | Public Types | Public Member Functions | List of all members
fst::StateExpectationTable< A > Class Template Reference

#include <expectation-table.h>

Public Types

using Arc = A
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using UnweightedArc = internal::UnweightedArc< Arc >
 
using ArcHash = internal::UnweightedArcHash< UnweightedArc >
 
using Sum = LogAdder< Weight >
 

Public Member Functions

 StateExpectationTable (const Fst< Arc > &channel)
 
void Forward (StateId state, Label ilabel, Label olabel, Weight weight, StateId nextstate)
 
void Forward (StateId state, Weight weight)
 
Weight Backward (StateId state, const Arc &arc) const
 
Weight Backward (StateId state) const
 

Detailed Description

template<class A>
class fst::StateExpectationTable< A >

Definition at line 116 of file expectation-table.h.

Member Typedef Documentation

template<class A >
using fst::StateExpectationTable< A >::Arc = A

Definition at line 118 of file expectation-table.h.

Definition at line 124 of file expectation-table.h.

template<class A >
using fst::StateExpectationTable< A >::Label = typename Arc::Label

Definition at line 119 of file expectation-table.h.

template<class A >
using fst::StateExpectationTable< A >::StateId = typename Arc::StateId

Definition at line 120 of file expectation-table.h.

template<class A >
using fst::StateExpectationTable< A >::Sum = LogAdder<Weight>

Definition at line 125 of file expectation-table.h.

Definition at line 123 of file expectation-table.h.

template<class A >
using fst::StateExpectationTable< A >::Weight = typename Arc::Weight

Definition at line 121 of file expectation-table.h.

Constructor & Destructor Documentation

template<class A >
fst::StateExpectationTable< A >::StateExpectationTable ( const Fst< Arc > &  channel)
inlineexplicit

Definition at line 127 of file expectation-table.h.

Member Function Documentation

template<class A >
Weight fst::StateExpectationTable< A >::Backward ( StateId  state,
const Arc arc 
) const
inline

Definition at line 142 of file expectation-table.h.

template<class A >
Weight fst::StateExpectationTable< A >::Backward ( StateId  state) const
inline

Definition at line 147 of file expectation-table.h.

template<class A >
void fst::StateExpectationTable< A >::Forward ( StateId  state,
Label  ilabel,
Label  olabel,
Weight  weight,
StateId  nextstate 
)
inline

Definition at line 131 of file expectation-table.h.

template<class A >
void fst::StateExpectationTable< A >::Forward ( StateId  state,
Weight  weight 
)
inline

Definition at line 137 of file expectation-table.h.


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