FST  openfst-1.7.2
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::ReplaceAccumulatorData< Accumulator, T > Class Template Reference

#include <accumulator.h>

Public Types

using Arc = typename Accumulator::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using StateTable = T
 
using StateTuple = typename StateTable::StateTuple
 

Public Member Functions

 ReplaceAccumulatorData ()
 
 ReplaceAccumulatorData (const std::vector< Accumulator * > &accumulators)
 
void Init (const std::vector< std::pair< Label, const Fst< Arc > * >> &fst_tuples, const StateTable *state_table)
 
const StateTupleGetTuple (StateId s) const
 
Accumulator * GetAccumulator (size_t i)
 
const Fst< Arc > * GetFst (size_t i) const
 

Detailed Description

template<class Accumulator, class T>
class fst::ReplaceAccumulatorData< Accumulator, T >

Definition at line 640 of file accumulator.h.

Member Typedef Documentation

template<class Accumulator , class T >
using fst::ReplaceAccumulatorData< Accumulator, T >::Arc = typename Accumulator::Arc

Definition at line 642 of file accumulator.h.

template<class Accumulator , class T >
using fst::ReplaceAccumulatorData< Accumulator, T >::Label = typename Arc::Label

Definition at line 643 of file accumulator.h.

template<class Accumulator , class T >
using fst::ReplaceAccumulatorData< Accumulator, T >::StateId = typename Arc::StateId

Definition at line 644 of file accumulator.h.

template<class Accumulator , class T >
using fst::ReplaceAccumulatorData< Accumulator, T >::StateTable = T

Definition at line 645 of file accumulator.h.

template<class Accumulator , class T >
using fst::ReplaceAccumulatorData< Accumulator, T >::StateTuple = typename StateTable::StateTuple

Definition at line 646 of file accumulator.h.

Constructor & Destructor Documentation

template<class Accumulator , class T >
fst::ReplaceAccumulatorData< Accumulator, T >::ReplaceAccumulatorData ( )
inline

Definition at line 648 of file accumulator.h.

template<class Accumulator , class T >
fst::ReplaceAccumulatorData< Accumulator, T >::ReplaceAccumulatorData ( const std::vector< Accumulator * > &  accumulators)
inlineexplicit

Definition at line 650 of file accumulator.h.

Member Function Documentation

template<class Accumulator , class T >
Accumulator* fst::ReplaceAccumulatorData< Accumulator, T >::GetAccumulator ( size_t  i)
inline

Definition at line 674 of file accumulator.h.

template<class Accumulator , class T >
const Fst<Arc>* fst::ReplaceAccumulatorData< Accumulator, T >::GetFst ( size_t  i) const
inline

Definition at line 676 of file accumulator.h.

template<class Accumulator , class T >
const StateTuple& fst::ReplaceAccumulatorData< Accumulator, T >::GetTuple ( StateId  s) const
inline

Definition at line 672 of file accumulator.h.

template<class Accumulator , class T >
void fst::ReplaceAccumulatorData< Accumulator, T >::Init ( const std::vector< std::pair< Label, const Fst< Arc > * >> &  fst_tuples,
const StateTable state_table 
)
inline

Definition at line 659 of file accumulator.h.


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